关于最新版本(19)的build-tools问题:Unable to execute dex: java.nio.BufferOverflowException
2013-11-09 14:47
507 查看
前几天win7坏了换了个ubuntu,然后环境都是装得最新的(android4.4和build tools 19),然后问题就出现了。
编译的时候无法通过,其实就是很简单的一个hello world程序,一直提示:
Unable to execute dex: java.nio.BufferOverflowException,而且上面一串串unable to write jarlist cache file Conversion to Dalvik format failed
本来以为是不小心把很大的jar包打入apk了,但是一看就已个support v4,不可能的。
之后感觉应该是最新的build tool的问题,换成老版本的18.1竟然就好了。
再到网上搜索一下发现,其实这个问题,别人也遇到的:
http://stackoverflow.com/questions/19727915/android-dex-gives-a-bufferoverflowexception
特此记下,以便不爱用google的人。
转载地址:http://my.eoe.cn/fortianwei/archive/18554.html
不知怎么切换build tool,我将19给删了
编译的时候无法通过,其实就是很简单的一个hello world程序,一直提示:
Unable to execute dex: java.nio.BufferOverflowException,而且上面一串串unable to write jarlist cache file Conversion to Dalvik format failed
本来以为是不小心把很大的jar包打入apk了,但是一看就已个support v4,不可能的。
之后感觉应该是最新的build tool的问题,换成老版本的18.1竟然就好了。
再到网上搜索一下发现,其实这个问题,别人也遇到的:
http://stackoverflow.com/questions/19727915/android-dex-gives-a-bufferoverflowexception
特此记下,以便不爱用google的人。
转载地址:http://my.eoe.cn/fortianwei/archive/18554.html
不知怎么切换build tool,我将19给删了
相关文章推荐
- 关于UITapGestureRecognizer屏蔽Button的处理
- vc的UI编程PngTextButton控件的适用情况
- DirectUI消息循环的简单封装
- mmc0: Too large timeout requested for CMD25
- Priority Queue(Heaps)--优先队列(堆)
- ZOJ 1136 Longest Ordered Subsequence DP
- ZOJ 1136 Longest Ordered Subsequence DP
- [LeetCode] Unique Binary Search Tree
- UVA - 10099 The Tourist Guide
- sencha touch Ext.Ajax.request 错误 Cannot call method 'request' of undefined 解决方案
- HDOJ 1159 Common Subsequence
- Missing Hive Builtins Jar: /data/hive-0.11.0/lib/hive-builtins-*.jar
- The Pragmatic Programmer Quick Reference Guide
- Request对象的主要方法
- 14.IO(三)【File】【Properties】【打印流PrintStream】【序列流SequenceInputStream】
- 我自己写的Uiscrollview无限滚动
- Android面试题:基本的UI控件和布局文件知识要点
- HDU 1297 Children’s Queue
- Mysql_real_query报错表示不同步
- ios中xib生成的uiview的高度问题