New android SDK 17 issue in my app?

后端 未结 3 652
时光说笑
时光说笑 2020-12-22 03:56

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

3条回答
  •  时光说笑
    2020-12-22 04:02

    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:

    1. Remove all references to the AdMob JAR in your project -> your code should not build without error anymore
    2. Create à libs folder at the root of your project
    3. Copy the AdMob JAR into the libs folder
    4. Make sure this AdMob JAR is in your Build Path (this will allow your code to build wihtout error)
    5. (If still not running OK) Right click your project > Android Tools > Fix Project Properties

提交回复
热议问题