android编译时报错

来源:互联网 发布:wow7.1数据库 编辑:程序博客网 时间:2024/04/30 07:35
[2014-02-17 10:50:40 - Dex Loader] Unable to execute dex: java.nio.BufferOverflowException. Check the Eclipse log for stack trace.

[2014-02-17 10:50:40 - CircleDemo] Conversion to Dalvik format failed: Unable to execute dex: java.nio.BufferOverflowException. Check the Eclipse log for stack trace.

报错原有是因为工程是手动import进来的,此时adt会自动在项目下建立一个依赖包  Android Dependencies。

处理方法,点击工程右键,build path -》configure build path-》Libraties,

选择Android Dependencies,点击右侧的remove按钮。

clean下工程即可。

0 0