Error inflating class com.google.ads.AdView

前端 未结 7 2121
余生分开走
余生分开走 2020-11-27 06:55

Hello I am new to android dev and admob. I am trying to make a simple test app with a button, a couple pages and admob at the bottom. Everything works fine until I try imple

7条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-11-27 07:14

    What I did - is working for me now - API Level 17 For admob:
    - Add adview code to your Layout with appropriate ID
    - Add Admob manifest code to your project manifest file
    - Add an external GoogleAdmobAdsSDK....jar Jar file to your Library (in Properties\Java Build path)
    - Check to choose GoogleAdmobAdsSDK....jar in tab Order and Export
    - Restart your ADT

    DEGUB = WORKING NOW.

提交回复
热议问题