What is the “Ignoring InnerClasses attribute” warning output during compilation?

前端 未结 4 753
野性不改
野性不改 2020-11-28 12:02

I am new to Android and am using the Ical4j library for parsing ICS (Outlook calendar) files.

However, when I build my application in Eclipse, the follo

相关标签:
4条回答
  • 2020-11-28 12:09

    Update build tools and support libraries to the same version

    0 讨论(0)
  • 2020-11-28 12:31

    I had the same error when using ksoap2 library.

    To get rid of it I downloaded DJ Java Decompiler to decompile the .jar file to .java files. After that i compiled the .java files to a .jar file using eclipse.

    0 讨论(0)
  • 2020-11-28 12:32

    If your app and your libraries have all been built with a new JDK (7+) and you are still getting this, then you can fix this problem by telling Proguard to keep the enclosing method attribute. Just add the following to your Proguard rules:

    -keepattributes EnclosingMethod

    0 讨论(0)
  • 2020-11-28 12:34

    This is quite common when including jar files. Although the warning isn't anything to worry about if you are just using the API normally, you should be able to get rid of them by compiling ical4j yourself from source within Eclipse (either build a new jar, or just drop the source into your own source folder). Though I should stress that unless you actually get problems, this isn't something to worry about.

    0 讨论(0)
提交回复
热议问题