Frage

I am trying to run the GoogleAdsSampleActivity class . I have made reference to the Google Play services library but I am getting following error . Please help me to figure out what's wrong. I googled a lot but did not manage to found any solution. Any help would be much appreciated.Thanks!

I got the following error :-

   04-26 01:01:17.174: E/dalvikvm(1482): Could not find class 'android.support.v4.app.FragmentActivity', referenced from method com.google.android.gms.common.GooglePlayServicesUtil.showErrorDialogFragment
War es hilfreich?

Lösung

If you are using the latest Google Play Service on your phone, no matter whether you are explicitly using FragmentActivity or support library, you need to put the android-support-v4.jar into the libs folder.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top