Conversion to Dalvik format failed: Unable to execute dex SDK Tools 22.3

后端 未结 7 1578
刺人心
刺人心 2021-02-13 19:30

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

Latest ADT, Latest SDK Tools (22.3).

I Tried :

  1. Clean/rebuild
  2. Update Eclipse
7条回答
  •  迷失自我
    2021-02-13 19:58

    Have you checked your xml files? I have the same Problem (and it is not solved yet) and I forgot to change the adView attribute from:

    to

    then you should also chech your

    xmlns:ads="http://schemas.android.com/apk/lib/com.google.android.gms.ads"
    

    (dunno if this is right though...)

    Edit: Found this:

        
    
      
    
    

    (Source: https://developers.google.com/mobile-ads-sdk/docs/admob/fundamentals)

    Edit2:

    Ok now I solved my Problem. I am such an Idiot... Well I integrated the AdMob SDK in the services library... I deleted it and everything was great again! So delete the services_lib, download it and import again that should work I guess. Good Luck!

提交回复
热议问题