0
点赞
收藏
分享

微信扫一扫

com.android.dex.DexIndexOverflowException: Cannot merge new index 66299 into a non-jumbo instruction

 

 

 

打包时控制台输出:

Error:Execution failed for task ':app:transformClassesWithDexForAll32Release'.
> com.android.build.api.transform.TransformException: com.android.ide.common.process.ProcessException: java.util.concurrent.ExecutionException: com.android.dex.DexIndexOverflowException: Cannot merge new index 66676 into a non-jumbo instruction!

 

在主工程的build.gradle文件,android{} 内添加如下内容

android.dexOptions {
jumboMode = true
// javaMaxHeapSize "2g"
}
Eclipse 中是在project.properties中添加dex.force.jumbo=true



举报

相关推荐

0 条评论