Kruti Mevada
Kruti Mevada

Reputation: 517

ClassNotFound exception when using admob jar in my android project?

i have added google admob jar, have added jar file to builtpath and also have declared both the adactivity to enifest file as described in http://code.google.com/mobile/ads/docs/android link.. then too i am getting following error..

I am using android 2.3 simulator and using ADT17 latest one.

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

Upvotes: 1

Views: 2481

Answers (2)

vKashyap
vKashyap

Reputation: 580

Yes it is a problem with ADT 17. Here's a nice link for solving this problem.

Upvotes: 1

Aditya
Aditya

Reputation: 389

Turns out r17 of Android Tools requires the /lib folder to be /libs, and the SDK has to be placed in there and referenced internally in order for it to be included in the apk.

check this question for more information ClassNotFound when trying to implement AdMob banner

Upvotes: 8

Related Questions