java.lang.NoClassDefFoundError: com.google.ads.AdView

前端 未结 10 1003
面向向阳花
面向向阳花 2020-11-28 13:42

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 =          


        
10条回答
  •  死守一世寂寞
    2020-11-28 14:15

    UPDATE:

    Select project settings > Java Build Path, then Order and export.

    Here, check the google-play-services.jar.

    This should solve the NoClassDefFoundError-issue.

提交回复
热议问题