1

私はアンドロイド開発のためにEclipse Indigoと最新の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  
4

1 に答える 1

0

indigo で ADT-19 にアップグレードした後、コンパイラが正しく設定されていないという警告メッセージが表示されます。Java コンパイラの設定を試して確認してください。

于 2012-05-07T06:50:48.193 に答える