0

自从将 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.

感谢任何帮助..

4

1 回答 1

0

如果您只是升级到最新版本 v2.3.3(在撰写本文时),这些问题应该会消失

如果您还有其他问题,请告诉我:)

于 2016-05-13T20:19:52.657 回答