I have an android app that uses ActionbarSherlock and I want to put an ad at the bottom of a ListView screen.
I have followed the information available here https://developers.google.com/mobile-ads-sdk/docs/android/fundamentals and it doesn’t compile saying “java.lang.NoClassDefFoundError: com.google.ads.AdView”
So my question is:
What do I have to do to get the ad to work?
You have what ADT version? 17?
If so try to rename the
libfolder tolibsThe ADT 17 of Android Tools requires the /lib folder to be /libs.
This problem is due to the fact:
See more information in this link