trouble writing output: Too many method references: 90356; max is 65536. You may try using --multi-d
来源:互联网 发布:excel 导入 数据库 编辑:程序博客网 时间:2024/05/16 19:44
关于64 k引用限制
Android应用程序(APK)在Dalvik可执行文件的形式包含可执行的字节码文件(DEX)文件,其中包含已编译的代码来运行你的应用程序。Dalvik可执行规格限制一个Dex文件包含65536个方法:包括Android框架方法、Library方法的总数、和你自己的代码方法总数。因为65536等于64×1024,这一限制被称为“64k引用限制”。
这个极限就要求我们配置应用程序的构建过程,需要生成多个DEX文件,所以称为multidex 配置。
即当编译引用的jar太多的时候,就会出现:trouble writing output: Too many method references: 90356; max is 65536.
You may try using --multi-dex option.
阅读全文
0 0
- trouble writing output: Too many method references: 90356; max is 65536. You may try using --multi-d
- trouble writing output: Too many methods: 65641; max is 65536. By package:
- 关于trouble writing output: Too many methods: xxxxx; max is 65536. By package:
- 编译错误trouble writing output: Too many methods: 65544; max is 65536.
- android framework.jar 分包应对trouble writing output: Too many methods: 66641; max is 65536. By package:
- 【exception】Too many methods: 65641; max is 65536. By package:
- Dx trouble writing output: already prepared 解决办法
- [Unity]打包遇到Too many method references when I export android build解决方法
- zookeeper NIOServerCnxn: Too many connections from /10.202.50.79 - max is 60 异常解决办法
- Error writing to data sink! Some output may get lost
- Error using pdist2 Too many input arguments
- caffe*** Aborted at 1457505270 (unix time) try "date -d @1457505270" if you are using GNU date ***
- caffe*** Aborted at 1457505270 (unix time) try "date -d @1457505270" if you are using GNU date ***
- *** Aborted at 1482144515 (unix time) try "date -d @1482144515" if you are using GNU date ***
- caffe*** Aborted at 1457505270 (unix time) try "date -d @1457505270" if you are using GNU date ***
- Method References
- I read that if you specify too large a heap (using -Xmx) then it will slow down the application, is
- OOA&D is about writing great software
- NOIP 2003 加分二叉树
- 触发器使用规则
- 软件缺陷与软件故障案例
- 使用python的unittest测试类
- Java中Stack的用法
- trouble writing output: Too many method references: 90356; max is 65536. You may try using --multi-d
- https://services.gradle.org/distributions/gradle-2.14.1-all.zip
- Kotlin来源
- js 获取url请求参数
- bzoj 3943: [Usaco2015 Feb]SuperBull 最大生成树
- Python-learning Day04
- 查找文件的类 struct _finddata_t结构体用法
- POJ 1236 Network of Schools(tarjan缩点)
- oracle sequences 时间加序列的主键怎样取?