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

后端 未结 7 1582
刺人心
刺人心 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 20:12

    The multiple dex files error just tell you that you are including the same class file from different sources. Restarting Eclipse or building with Ant will therefore not help as your project setup is just invalid.

    As you do not specify what jars you are using, there is no way to tell what is going on for sure.

    However, the newest Google Play library includes ads and my guess would be that you are including both Admob and Google Play Services which apparently contain the same classes. In that case you should migrate your code to use the Google Play Service ads and remove the admob jar from your project.

    0 讨论(0)
提交回复
热议问题