当我使用 jsf-impl.jar 解析 rss 提要时,我在我的 android 项目中遇到警告。这是我得到的警告:
Dxwarning: Ignoring InnerClasses attribute for an anonymous inner class (com.sun.org.apache.commons.logging.impl.SimpleLog$1) 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
如果我在普通的 java 类中使用这个 jar,而不是从 Android 扩展 Activity,我不会收到任何错误或警告。我尝试清理项目,刷新,重新启动eclipse,计算机。我不知道该怎么做。尝试使用其他罐子,但我找不到我需要在课堂上导入的罐子:
导入 com.sun.org.apache.commons.digester.rss.Channel;导入 com.sun.org.apache.commons.digester.rss.Item;导入 com.sun.org.apache.commons.digester.rss.RSSDigester;
有人知道该怎么做吗?是的,我正在谷歌搜索负载...无论如何感谢您的时间。