gpt4 book ai didi

java - 将 Android SDK 更新到最新版本和 ADT 19

转载 作者:行者123 更新时间:2023-12-01 05:20:35 24 4
gpt4 key购买 nike

我正在使用 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

最佳答案

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

关于java - 将 Android SDK 更新到最新版本和 ADT 19,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10477841/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com