解决Warning:Ignoring InnerClasses attribute for an anonymous inner class associated EnclosingMethod at

来源:互联网 发布:js导出csv 编辑:程序博客网 时间:2024/06/07 05:43

公司最近想把友盟的意见反馈升级为阿里百川,结果发生一个悲剧,Android studio 运行不起来,经常研究终于知道问题所在了,在此给大家分享下结局方案:

Warning:Ignoring InnerClasses attribute for an anonymous inner class
associated EnclosingMethod attribute. This class was probably produced by a
compiler that did not target the modern .class file format. The recommended
(com.alibaba.sdk.android.executor.a.c) that doesn't come with an
solution is to recompile the class from source, using an up-to-date compiler
and without specifying any "-target" type options. The consequence of ignoring
this warning is that reflective operations on this class will incorrectly
indicate that it is *not* an inner class.

看图:


上方的几个jar包下面的module也有,但是上方的没有三角箭头,我以为是没有被引用,结果就出现了以上的错误,经过百度排查,原来上方的jar也被引用,那么解决就简单了,删除重复的引用,现在OK 了


今天又报这个错了,但是这回不是jar重复指引了,经过折腾,原来用AndroidStudio打签名包时android.keystore 的密码输入错了也会报这个,OK,现在又解决了大笑


0 0
原创粉丝点击