GRADLE FILE IMAGE HERE .........和............. LOG IMAGE HERE
在Android Studio
中构建apk文件时出现以下错误:
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.dex.DexException: Multiple dex files define Lcom/google/firebase/iid/zzb;
你知道可能是什么原因吗?
答案 0 :(得分:0)
android {
defaultConfig {
...
minSdkVersion
targetSdkVersion
multiDexEnabled true <-- the line that matters
}
...
}