com.android.build.transform.api.TransformException
2022-08-31 07:16:00
我正在尝试集成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