Unable to execute dex: java.nio.BufferOverflowException.

用eclipse导入之前的项目后,出现了这样一个异常


这个异常的原因可能有其他,下面的只是我遇到的情况


你可能是直接import的代码,代码本身会在你的项目下建立一个依赖包  Android Dependencies,在eclipse中右键Android Dependencies
文件夹,在Build Path选项中选择  remove it from build path。。。然后就没问题了。。

你可能感兴趣的:(Unable to execute dex: java.nio.BufferOverflowException.)