문제

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
도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top