java.nio.BufferOverflowException

error log: Unable to execute dex: java.nio.BufferOverflowException. Check the Eclipse log for stack trace.

Conversion to Dalvik format failed: Unable to execute dex: java.nio.BufferOverflowException. Check the Eclipse log for stack trace.


外部导入了一个Android工程代码,19之後代码本身会在你的项目下建立一个依赖包 Android Dependencies。


解决办法:

在eclipse中右键Android Dependencies这个工程文件夹,在Build Path选项中选择  remove it from build path

猜你喜欢

转载自wander-bird.iteye.com/blog/2148930