您的位置:首页 > 移动开发 > Android开发

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

2016-05-19 23:20 676 查看
公司最近想把友盟的意见反馈升级为阿里百川,结果发生一个悲剧,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,现在又解决了
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息