com.android.build.transform.api.TransformException
我正在尝试整合谷歌登录,在我的应用程序中,我添加了这些库:
compile 'com.google.android.gms:play-services-identity:8.1.0'compile 'com.google.android.gms:play-services-plus:8.1.0'
还将此添加到项目构建gradle:
classpath 'com.google.gms:google-services:1.4.0-beta3'
还为app build gradle添加插件:
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
缥缈止盈
皈依舞