Unable to execute dex: java.nio.BufferOverflowException.解决办法
2014-12-04 22:30
447 查看
错误提示:
[2014-01-16 09:27:35 - Dex Loader] Unable to execute dex: java.nio.BufferOverflowException. Check the Eclipse log for stack trace.[2014-01-16 09:27:35 - tab_demo] Conversion to Dalvik format failed: Unable to execute dex: java.nio.BufferOverflowException. Check the Eclipse log for stack trace.
解决方法一:(针对某个项目)
右键选择项目,选择Build Path——Configure Build Path...,然后在弹出框中选择:Java Build Path——Libraries,最后将Android Dependencies和Android
Private Libraries移除(remove)掉即可。 我遇到这种问题的时候,Android Dependencies和Android Private Libraries里面都没有我项目所需的库,所以我remove掉之后不需要重新添加jar包,但是如果你的Android Dependencies和Android Private Libraries里面有项目所需的库的话,需要你重新引入,否则项目会报错,jar引入:右键选择lib中的jar文件选择Add
Build Path即可。
解决方法二:(针对所有项目,一劳永逸的方法)
点击选择菜单栏的Project--->选择Build Path--->Configure Build Path...,然后在弹出框中选择:Java
Build Path--->Libraries,最后将Android Dependencies和Android Private Libraries移除(remove)掉即可。
相关文章推荐
- Unable to execute dex: java.nio.BufferOverflowException.解决办法
- Unable to execute dex: java.nio.BufferOverflowException.解决办法
- Unable to execute dex: java.nio.BufferOverflowException.解决办法
- Unable to execute dex: java.nio.BufferOverflowException.解决办法
- Unable to execute dex: java.nio.BufferOverflowException.解决办法
- Unable to execute dex: java.nio.BufferOverflowException.解决办法
- your project contains error(s),..Unable to execute dex: java.nio.BufferOverflowException解决办法
- Unable to execute dex: java.nio.BufferOverflowException.解决办法
- Unable to execute dex: java.nio.BufferOverflowException.解决办法
- Unable to execute dex: java.nio.BufferOverflowException 解决办法
- Unable to execute dex: java.nio.BufferOverflowException.解决办法
- Unable to execute dex: java.nio.BufferOverflowException.解决办法
- Unable to execute dex: java.nio.BufferOverflowException问题解决
- 困扰问题Unable to execute dex: java.nio.BufferOverflowException. 解决方法
- Unable to execute dex: java.nio.BufferOverflowException解决方法
- 解决Unable to execute dex: java.nio.BufferOverflowException. Check the Eclipse log for stack trace.
- "Unable to execute dex: java.nio.BufferOverflowException. Check the Eclipse log for stack trace"问题解决
- Error处理:Conversion to Dalvik format failed: Unable to execute dex: java.nio.BufferOverflowException.
- Unable to execute dex: java.nio.BufferOverflowException. Check the Eclipse log for stack trace.
- Unable to execute dex: java.nio.BufferOverflowException. Check the Eclipse log for stack trace.