【问题标题】:error when including Pinterest SDK in Android在 Android 中包含 Pinterest SDK 时出错
【发布时间】:2015-09-17 22:48:47
【问题描述】:

我正在尝试在 Android Studio 中包含 Pinterest android SDK,但我总是看到以下错误消息,谁能帮助我,谢谢!

错误:任务 ':app:dexDebug' 执行失败。

com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command'/Library/Java/JavaVirtualMachines/jdk1.7.0_79.jdk/Contents/Home/bin/java '' 以非零退出值 2 结束

【问题讨论】:

  • 请发布 build.gradle 文件。

标签: java android android-studio


【解决方案1】:

我有同样的问题。这是因为 pinterest 库中有一个 ic_launcher.png ,显然我自己也有一个。将我的 ic_launcher.png 重命名为 launcher.png 就可以了。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2017-09-28
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2012-07-12
    • 1970-01-01
    • 1970-01-01
    • 2011-12-29
    相关资源
    最近更新 更多