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

来源:互联网 发布:win7显示网络连接图标 编辑:程序博客网 时间:2024/06/16 11:14

今天是2017年11月14日:

将打包后的jar导入工程后,点击Android Studio工具栏Build进行Generate Signed APK进行打包成APK,报错如下图所示:

Error:Execution failed for task ':app:transformDexWithDexForRelease'.

> com.android.build.api.transform.TransformException: com.android.ide.common.process.ProcessException: java.util.concurrent.ExecutionException: com.android.dex.DexIndexOverflowException: Cannot merge new index 68257 into a non-jumbo instruction!


解决的方法:

在android{

} 配置:

      dexOptions {    jumboMode true      }
如图所示:

阅读全文
0 0