前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >Ignoring InnerClasses attribute for an anonymous inner class

Ignoring InnerClasses attribute for an anonymous inner class

作者头像
用户2657851
发布2020-03-04 13:58:22
5690
发布2020-03-04 13:58:22
举报
文章被收录于专栏:vsdfavsdfa
代码语言:javascript
复制
Error:warning: Ignoring InnerClasses attribute for an anonymous inner class
Error:(com.baidu.mapapi.utils.e) 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.

在生成release的apk的时候,发生一片这个问题,检查发现 依赖的项目缺少了 testCompile 'junit:junit:4.12',加入后重新编译一下,然后生成release的apk就好了

本文参与 腾讯云自媒体分享计划,分享自作者个人站点/博客。
原始发表:2016-03-16,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 作者个人站点/博客 前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体分享计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档