最近莫名奇妙遇到“Conversion to Dalvik format failed: Unable to execute dex”錯誤,stackoverflow以后得到結果
把項目中classpath文件中<classpathentry kind="lib" path ="自定義jar的地址" /> 修改成 <classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>,刪掉<classpathentry kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/>。然后就OK了