[Android Studio]解决Cannot merge new index 68383 into a non-jumbo instruction!的问题
来源:互联网 发布:linux运维工程师累吗 编辑:程序博客网 时间:2024/06/16 13:02
问题:Cannot merge new index xxxxx into a non-jumbo instruction, 意味着方法数超过65536了
解决方法:
在 app的 build.gradle 里面,
为 android下的 defaultConfig里面添加一项:
multiDexEnabled true
就可以搞定了
举例:
其他略android { compileSdkVersion 25 buildToolsVersion "25.0.2" defaultConfig { applicationId "com.test.one" minSdkVersion 21 targetSdkVersion 23 multiDexEnabled true //Howard 2017-08-31 解决方法数超过65536的问题 versionName '1.0.5' testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" versionCode 5 }
详细请参考官方说明:
配置方法数超过 64K的应用:https://developer.android.com/studio/build/multidex.html
阅读全文
0 0
- [Android Studio]解决Cannot merge new index 68383 into a non-jumbo instruction!的问题
- 解决“Cannot merge new index 67208 into a non-jumbo instruction”的问题
- 解决“Cannot merge new index 67208 into a non-jumbo instruction”的问题
- 解决“Cannot merge new index 67208 into a non-jumbo instruction”的问题
- 解决“Cannot merge new index 67208 into a non-jumbo instruction”的问题
- 解决“Cannot merge new index 67208 into a non-jumbo instruction”的问题
- 解决“Cannot merge new index 67208 into a non-jumbo instruction”的问题
- 解决“Cannot merge new index 65807 into a non-jumbo instruction”的问题
- android Cannot merge new index 66221 into a non-jumbo instruction(Android studio)bug
- Cannot merge new index 66221 into a non-jumbo instruction(Android studio)
- Android-Cannot merge new index 66195 into a non-jumbo instruction的解决办法
- Android-Cannot merge new index 66195 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
- 使用IDEA开发Android项目时遇到Cannot merge new index into a non-jumbo instruction! 的解决
- 模板
- [FAQ20244]在apns-conf文件中配置一个read_only字段,使APN不可被编辑
- 比特币挖矿教程
- hadoop 加载CSV ,建表,切分数据
- Java枚举的七种常见用法
- [Android Studio]解决Cannot merge new index 68383 into a non-jumbo instruction!的问题
- STM32——由CAN调试想到的调试过程总结
- C++之自增、自减运算符的前缀、后缀运算符区别(5)---《More Effective C++》
- ORACLE中seq$表更新频繁的分析
- 小米推送Cordova,Cordova 小米推送 ionic 小米推送
- 正则表达式匹配任意字符
- Redux源码分析之基本概念
- Java的ReentrantLock构造函数中提供了两种锁:创建公平锁和非公平锁
- MIL测试