将Android SDK更新为最新版本和ADT 19

时间:2012-05-07 06:47:35

标签: java android adt dalvik heap-memory

我正在使用eclipse Indigo和最新的sdk和ADT 19来进行我的android开发。

修复以下问题后,我收到以下错误:
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  

1 个答案:

答案 0 :(得分:0)

从警告消息看起来,在使用indigo升级到ADT-19后编译器没有正确设置,请尝试使用java编译器设置进行检查。

相关问题