最近出現老代碼不能運行的問題java
Conversion to Dalvik format failed: Unable to execute dex: java.nio.BufferOverflowException. Check the Eclipse log for stack trace.android
這個緣由,實際上是由於當前開發環境已經升級到4.4引發的eclipse
只要修改.classpath文件便可ide
找到工程目錄.classpath文件,用記事本打開,找到spa
<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.DEPENDENCIES"/>orm
刪除它。ip