1
我使用eclipse Indigo和最新的sdk和ADT 19爲我的android開發。更新Android SDK到最新和ADT 19
我修復了以下問題後得到以下錯誤:
http://android.foxykeep.com/dev/how-to-fix-the-classdefnotfounderror-with-adt-17
Dx warning: Ignoring InnerClasses attribute for an anonymous inner class
(com.sun.org.apache.xpath.internal.functions.SecuritySupport12$8) that doesn't come with an
associated EnclosingMethod attribute. This class was probably produced by a
compiler that did not target the modern .class file format. The recommended
solution is to recompile the class from source, using an up-to-date compiler
and without specifying any "-target" type options. The consequence of ignoring
this warning is that reflective operations on this class will incorrectly indicate that it is *not* an inner class.
Unable to execute dex: Java heap space
Conversion to Dalvik format failed: Unable to execute dex: Java heap space
你真的讀過這條消息嗎?該解決方案似乎很清楚:「推薦的解決方案是從源代碼重新編譯類,使用最新的編譯器,而不指定任何」-target「類型選項。」 –
如何做到這一點?抱歉。我是一個不知道..我沒有得到那是什麼意思? – Smitha