导入Android项目至Eclipse中,编译项目报错:

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.

解决方法:

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

理由:

最新的19版本会在你的项目下建立一个依赖包  Android Dependencies,