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

公司最近想把友盟的意见反馈升级为阿里百川,结果发生一个悲剧,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,现在又解决了大笑


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值