com.android.build.transform.api.TransformException我正在尝试整合Google登录,在我的应用程序中,我添加了这些库:compile 'com.google.android.gms:play-services-identity:8.1.0'compile 'com.google.android.gms:play-services-plus:8.1.0'还将此添加到项目构建级中:classpath 'com.google.gms:google-services:1.4.0-beta3'还添加插件到应用程序构建级:apply plugin: 'com.google.gms.google-services'然后添加必需的权限,但当我试图运行我的应用程序时,会收到以下错误: Error:Execution failed for task ':app:transformClassesWithDexForDebug'.
com.android.build.transform.api.TransformException: com.android.ide.common.process.ProcessException:
org.gradle.process.internal.ExecException: Process 'command 'C:\Program Files\Java\jdk1.8.0\bin\java.exe'' finished with non-zero exit value 2
3 回答
阿晨1998
TA贡献2037条经验 获得超6个赞
compile 'com.google.android.gms:play-services:8.3.0'
compile 'com.google.android.gms:play-services-identity:8.3.0'compile 'com.google.android.gms:play-services-plus:8.3.0'compile 'com.google.android.gms:play-services-gcm:8.3.0'
添加回答
举报
0/150
提交
取消