Today i was update my android sdk to new android adk-17 . i am facing some problems in this, that is unable to show AddMob in my app, if i remove addmob in the code able to run the app without any errors otherwise not. what is the solution for this, is this bug in new sdk.
this is the Logcat information
Caused by: java.lang.ClassNotFoundException: com.google.ads.AdView in loader
dalvik.system.PathClassLoader[/data/app/com.veritra.iflipout-1.apk]
when I updated my SDK it was total mess. Well, the only I had to change was the PATH in Environment Variables.
http://developer.android.com/sdk/installing.html :
Maybe the ADK update has messed-up with your project's build-path. Try removing the admob JAR and add it again to your
libs
folder, add it to your Build Path and do a Clean Project.Anyway it's hard to help you without more details on the error you encounter.
EDIT following poster's comment about not having a
libs
folder:You should try this:
libs
folder at the root of your projectlibs
folderThe 'problem' here is that the SDK is a lot more strict about the libraries. If you do not check the library as 'exported' in eclipse, it is not added to your APK, leading to this nasty class not found exception. You should mark your libraries as exported.