I am attempting to incorporate admob ads in my app. So far I have added the following code in the onCreate method of my app\'s main activity...
adView =
Just create manually the "libs" folder, and add your libraries there. By default, they doesn't exist
I had a similar problem, but did not have to add the libs folder; I tried, with no success, then removed them afterwards, when I realized that I had just forgotten to export the included Jar archived.
Fix:
Select project settings > Java Build Path, then Order and export.Here, check the GoogleAdMobAdsSdk-package.
This should solve the NoClassDefFoundError-issue.
It is worked for me.
It's not enough only to add "GoogleAdMobAdsSdk-6.4.1.jar" in Java Build Path,then you should switch to table:Order and export.check the "GoogleAdMobAdsSdk-6.4.1.jar" here.