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.DexIndexOverflowException: method ID not in [0, 0xffff]: 65536
解决方案:gradle 中加入 multiDexEnabled true
defaultConfig {
applicationId ""
minSdkVersion
targetSdkVersion
versionCode 1
versionName ""
multiDexEnabled true
}