1

i just added classpath 'com.google.gms:google-services:3.0.0' and updated google.android.gms:play-services:8.3.0 to 9.0.0 and i get this Error please tell me how to solve it?

Error:Execution failed for task ':app:transformClassesWithDexForDebug'.

com.android.build.api.transform.TransformException: com.android.ide.common.process.ProcessException: java.util.concurrent.ExecutionException: com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'C:\Program Files\Java\jdk1.8.0_65\bin\java.exe'' finished with non-zero exit value 3

1 Answers1

0

Try the solution in this SO question, by adding multiDexEnabled true to your app build.gradle file.

defaultConfig {
multiDexEnabled true
}

Also double check your .jar file and lib that appearing multiple times in your project.

For more information and other solutions, check this related SO questions:

Community
  • 1
  • 1
KENdi
  • 7,576
  • 2
  • 16
  • 31