【问题标题】:Multiple DEX files in library库中的多个 DEX 文件
【发布时间】:2015-10-16 15:20:59
【问题描述】:

我写了一个安卓应用,添加了Google-play-services lib,然后运行它。然后我得到了这个错误:

[2015-10-16 12:34:32 - Dex Loader] Unable to execute dex: Multiple dex files define Lcom/google/ads/AdRequest$ErrorCode;
[2015-10-16 12:34:32 - HelloCordova] Conversion to Dalvik format failed: Unable to execute dex: Multiple dex files define Lcom/google/ads/AdRequest$ErrorCode;  

我的Lib结构是:

jar 文件和库是否相互冲突?

【问题讨论】:

  • 哦...我应该删除PayPalAndroidSDK-2.9.11.jar吗?
  • 我检查了java build path。我的构建路径中有google-play-services.jar。我应该删除它吗?
  • 为什么你们不使用Android Studio?我不明白。

标签: android google-play-services


【解决方案1】:

我从lib 中删除了PayPalAndroidSDK-2.9.11.jar。看起来我正在使用新的google-play-services

【讨论】:

  • 我猜你克服了这个
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 2013-12-18
  • 1970-01-01
  • 1970-01-01
  • 2015-09-25
  • 2014-03-14
  • 1970-01-01
相关资源
最近更新 更多