it-notepad.com

Error:warning: Ignoring InnerClasses attribute for an anonymous inner class

Error:warning: Ignoring InnerClasses attribute for an anonymous inner class

Error:warning: Ignoring InnerClasses attribute for an anonymous inner class
Error:(android.support.a.a.c) 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.

 

The solution is simple.
Add this parameter to file of Android Proguard

-keepattributes EnclosingMethod

 

Exit mobile version