Multiple dex files define Lcom/google/ads/AdRequest$ErrorCode and Multiple dex files define Lcom/google/ads/AdRequest$ErrorCode

前端 未结 12 857
春和景丽
春和景丽 2020-12-11 01:19

I created android application and try to add admob to it. but it not works. can anyone help me to fix this error.

[2014-04-09 15:16:51 - Dex Loader] Unable t         


        
12条回答
  •  醉话见心
    2020-12-11 01:53

    google-pay-services.jar and GoogleAdMobAdsSdk.jar having same class name for AdMob. May be due to that reason you are getting multiple .dex files.

    Please follow the docs steps of this sample code link of AdMob by using google-pay-services.jar instead of GoogleAdMobAdsSdk.jar.

    Hope it will help you, Still you have any problem then let me know...

提交回复
热议问题