异常内容:
Error:Execution failed for task ':app:transformClassesWithDexForSqyDebug'.
> com.android.build.api.transform.TransformException:
com.android.ide.common.process.ProcessException: java.util.concurrent.ExecutionException:
com.android.dex.DexIndexOverflowException:
Cannot merge new index 65810 into a non-jumbo instruction!
解决方法:
在项目的build.gradle中添加
defaultConfig {
multiDexEnabled true
}
dependencies {
compile 'com.android.support:multidex:'
}
Cannot merge new index 65810 into a non-jumbo instruction!这句话中找出原因,解决办法是使用了 (百度)android解决65535的限制