Proguard issue “Warning:Ignoring InnerClasses attribute for an anonymous inner class”

前端 未结 8 1621
灰色年华
灰色年华 2020-12-08 02:06

I don\'t know how I can describe this issue. I searched a lot, but I didn\'t find any solution.

Also this solution did not help me -keepattributes EnclosingMethod:

8条回答
  •  执念已碎
    2020-12-08 03:00

    For me what solved the problem was to use a newer version of jar. The clue was:

    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.

    So i changed from:

        compile 'com.google.inject:guice:4.0'
    

    to:

        compile 'com.google.inject:guice:4.2.0'
    

提交回复
热议问题