【问题标题】:Multiple dex files when adding AirPush library添加 AirPush 库时的多个 dex 文件
【发布时间】:2013-11-22 19:12:57
【问题描述】:

添加 airpush 库后,出现以下错误。我没有做任何其他事情,只是将 jar 文件复制到我项目的 libs 文件夹中。

[2013-11-22 21:03:04 - Dex Loader] Unable to execute dex: Multiple dex files define packet/name /BuildConfig;
[2013-11-22 21:03:04 - NewPrincessColoringGame] Conversion to Dalvik format failed: Unable to execute dex: Multiple dex files define packet/name /BuildConfig;

【问题讨论】:

  • 如果您的问题仍未解决,请在此处粘贴您的代码示例,我可以帮助您。我非常了解 Airpush 广告。
  • 感谢 Aditya,我已联系 AirPush,他们向我发送了示例代码以进行集成,非常感谢。
  • 不要使用AirPush!!他们是骗局!!他们从不付款! (对我和几个朋友来说)或支付更少(谷歌它!)

标签: airpush


【解决方案1】:

“清理并构建”完整的项目。

【讨论】:

  • 我觉得问题没那么简单。
【解决方案2】:

此错误表明您在不同的 jar 中包含相同的类。我猜您也在使用其他库,例如 Google AdMob、Google play services 等。 因此,您可能还想检查您正在使用的所有库,看看哪个库与 Airpush 冲突。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2013-12-18
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2014-03-14
    相关资源
    最近更新 更多