【问题标题】:Google Play service error while running the application after importing 'com.google.android.gms:play-services:7.3.0'导入“com.google.android.gms:play-services:7.3.0”后运行应用程序时出现 Google Play 服务错误
【发布时间】:2015-11-27 12:01:23
【问题描述】:

在导入 google play 服务 'com.google.android.gms:play-services:7.3.0' 后,我遇到了一个重大问题。

我的应用程序正在正确编译,但在运行时出现以下错误:

Error:Execution failed for task ':app:dexDebug'.
com.android.ide.common.process.ProcessException:    
org.gradle.process.internal.ExecException: 
Process 'command 'C:\Program Files\Java\jdk1.8.0_45\bin\java.exe'' 
finished with non-zero exit value 2

我的 SDK 是最新更新的。请帮助解决问题。我已经尝试了网络中所有可用的可能性。

【问题讨论】:

  • 能否请您从 Messages 发布整个日志?因为实际的错误会在那里..!
  • 尝试重启你的IDE
  • 使用自定义命令行 build --stacktrace --info 运行 Gradle 任务并显示日志

标签: android google-play-services


【解决方案1】:

我发现了问题。 Google Play 服务 jar 与我的第三方库之一冲突。

谢谢...

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2016-09-15
    • 2014-09-23
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2016-11-01
    • 2015-01-23
    相关资源
    最近更新 更多