新SDK环境import老版本项目异常处理

异常提示:

[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.
java

这个异常主要表如今sdk 4.4 加载老版本项目会出现。关键是修改项目目录中的.classpath文件。android

在.classpath 中找到并删除以下标签,而后clean,便可解决问题。eclipse

<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.DEPENDENCIES"/>
相关文章
相关标签/搜索