Cannot merge new index 65536 into a non-jumbo instruction! android sutdio 报错方案2
来源:互联网 发布:九之濑遥cos淘宝全套 编辑:程序博客网 时间:2024/05/23 18:23
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: Cannot merge new index 65536 into a non-jumbo instruction!
引用g ithub 上的项目后,报这个错,大概是方法数限制的原因。
解决方案2:
在Android studio 项目的build.grade 这个文件的Android 标签:
defaultConfig中添加
multiDexEnabled true
然后在 dependencies 依赖中添加
compile 'com.android.support:multidex:'
阅读全文
0 0
- Cannot merge new index 65536 into a non-jumbo instruction! android sutdio 报错方案2
- 打包报错 Cannot merge new index 66017 into a non-jumbo instruction!
- Cannot merge new index 66501 into a non-jumbo instruction
- Cannot merge new index 67361 into a non-jumbo instruction
- Cannot merge new index 65636 into a non-jumbo instruction
- cannot merge new index 65555 into a non-jumbo instruction!
- Cannot merge new index 65553 into a non-jumbo instruction
- IEDA android编译报cannot merge new index 6xxxx into a non jumbo instruction的一种解决方法
- android Cannot merge new index 66221 into a non-jumbo instruction(Android studio)bug
- Android-Cannot merge new index 66195 into a non-jumbo instruction的解决办法
- com.android.dex.DexIndexOverflowException: Cannot merge new index 66299 into a non-jumbo instruction
- Android-Cannot merge new index 66195 into a non-jumbo instruction的解决办法
- Android Cannot merge new index 67208 into a non-jumbo instruction
- Cannot merge new index 66221 into a non-jumbo instruction(Android studio)
- com.android.dex.DexIndexOverflowException: Cannot merge new index 66078 into a non-jumbo instruction
- [Android Studio]解决Cannot merge new index 68383 into a non-jumbo instruction!的问题
- com.android.dex.DexIndexOverflowException: Cannot merge new index 68257 into a non-jumbo instruction
- BUG_Cannot merge new index 65810 into a non-jumbo instruction!
- Linux 基本三
- 快速解决ionic安卓主题启动时短暂的黑屏或白屏问题
- bitset简介
- Factory flashing with U-Boot and fastboot on Freescale i.MX6
- dubbo调试-telnet篇
- Cannot merge new index 65536 into a non-jumbo instruction! android sutdio 报错方案2
- 风口上的猪-中国牛市
- Batch Normalization
- codevs 1297 硬币 DP+STL
- 机器学习
- Java 解决采集UTF-8网页空格变成问号乱码
- Mysql 事务隔离级别
- Navicat for MySQL 64位破解版
- 华为OJ——字符串加密