How to Ignore "Ignoring InnerClasses Attribute" Ling Warning

Several third-party .jar libraries that I use throw thousands of Lint warnings like this:

Error:warning: Ignoring InnerClasses attribute for an anonymous inner class Error:(com.inneractive.api.ads.sdk.IAmraidWebView$a) 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. 

How can I suppress these warnings with lintOptions in my build.gradle file?

 android { lintOptions { disable 'WHAT_IS_THE_NAME_OF_THE_RULE_TO_DISABLE_HERE?' } } 
+6
source share

All Articles