我是Android新手,我正在使用该Ical4j库来解析ICS(Outlook日历)文件.
但是,当我在Eclipse中构建应用程序时,控制台中会多次出现以下警告:
[2010-07-22 15:58:31 - Google日历上传]警告:忽略没有关联的EnclosingMethod属性的匿名内部类的InnerClasses属性.(这个类可能是由一个破碎的编译器产生的.)
这有什么影响?我该如何解决这个问题?
我想修复这个警告,给我每个构建此输出:
Error:warning: Ignoring InnerClasses attribute for an anonymous inner class
Error:(com.sun.jna.Native$1) that doesn't come with an
Error:associated EnclosingMethod attribute. This class was probably produced by a
Error:compiler that did not target the modern .class file format. The recommended
Error:solution is to recompile the class from source, using an up-to-date compiler
Error:and without specifying any "-target" type options. The consequence of ignoring
Error:this warning is that reflective operations on this class will incorrectly
Error:indicate that it is *not* an inner class. …Run Code Online (Sandbox Code Playgroud) 我尝试在android studio中使用Proguard,但似乎Proguard并没有混淆类名,例如,我的app结构和配置:
和配置
但是当我尝试在应用程序中触发异常时:
ADB控制台中列出了该异常:
只有方法被混淆,MainActivity.class不是