Could not find class com.google.ads.AdRequest '

I switched from Windows to Ubuntu this week. I imported my Android project in Eclipse and it does not show errors, the project can be built normally.

However, when I try to run the application on the device, the application crashes with the following messages:

04-25 14: 14: 15.700: E / dalvikvm (12640): Could not find class 'com.google.ads.AdRequest', link to method com.myApp.initAds

and

04-25 14: 14: 15.790: E / AndroidRuntime (12640): thrown: java.lang.ClassNotFoundException: com.google.ads.AdView in the dalvik.system.PathClassLoader [/data/app/com.busybits.treinverkeer- 2.apk] 04-25 14: 14: 15.790: E / AndroidRuntime (12640): at dalvik.system.PathClassLoader.findClass (PathClassLoader.java:240) 04-25 14: 14: 15.790: E / AndroidRuntime (12640) : at java.lang.ClassLoader.loadClass (ClassLoader.java►51) 04-25 14: 14: 15.790: E / AndroidRuntime (12640): with java.lang.ClassLoader.loadClass (ClassLoader.javahaps11) 04-25 14: 14: 15.790: E / AndroidRuntime (12640): with android.view.LayoutInflater.createView (LayoutInflater.java:471) 04-25 14: 14: 15.790: E / AndroidRuntime (12640): with android.view.LayoutInflater .createViewFromTag (LayoutInflater.java∗70) 04-25 14: 14: 15.790: E / AndroidRuntime (12640): ... 22 more

:

  • FlurryAgent.jar
  • GoogleAdmobAdsSdk-4.1.0.jar
  • Android 2.2

?

+3
1

Android SDK 18 ? , , jar. project_home/ libs.

+4

All Articles