ClassNotFound exception when using admob jar in my android project?

I added google admob jar, added the jar file to the buildpath and also declared as adactivity for the confirmation file as described in http://code.google.com/mobile/ads/docs/android link .. then I also get the following error ...

I am using android 2.3 simulator and using latest ADT17.

java.lang.NoClassDefFoundError: com.google.ads.AdView

+1


source to share


2 answers


Turns off r17 for android tools it requires the / lib folder to be / libs and the SDK must be put there and referenced internally for it to be included in the apk.



check this question for more ClassNotFound when trying to embed AdMob banner

+8


source


Yes, this is a problem with ADT 17. Here's a good link to fix this problem.



+1


source







All Articles