错误信息
Error:Execution failed for task ':项目名称:transformClassesWithDexForDebug'.
> com.android.build.api.transform.TransformException: com.android.ide.common.process.ProcessException: java.util.concurrent.ExecutionException: com.android.dex.DexIndexOverflowException: Cannot merge new index 66211 into a non-jumbo instruction!
解决办法
android {
... ...
defaultConfig {
... ...
multiDexEnabled = true //添加这一句
}