自从将 build gradle tools 版本增加到版本 2 以上,我在 Android Studio 中遇到了很多编译错误(超过 500 个)。奇怪的是,该项目仍然可以运行,并且运行正常。
Error:warning: Ignoring InnerClasses attribute for an anonymous inner class
Error:(com.instabug.library.activity.b) 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.
感谢任何帮助..