Warning:warning: Ignoring InnerClasses attribute for an anonymous inner class

遇到了一个莫名其妙的问题有,引用第三方RxTools时弹出:Warning:warning: Ignoring InnerClasses attribute for an anonymous inner class

(com.alipay.android.phone.mrpc.core.AndroidHttpClient$1) that doesn't come with an

associated EnclosingMethod attribute. This class was probably produced by a

compiler that did not target the modern .class file format. The recommended

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.

。。。下面还有好多


显示的问题是环境配置存在这问题,后来查找好多资料,找到了问题的解决办法,在build.gradle中,添加

defaultConfig {,

    multiDexEnabledtrue

}

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容

  • Correctness AdapterViewChildren Summary: AdapterViews can...
    MarcusMa阅读 8,928评论 0 6
  • 从小到大我爸妈都教育我为人处世要谦让,要懂得得饶人处且饶人,凡事不要锱铢必较。出了那口气我并不会过得比现在好很多,...
    南瓜多好阅读 258评论 3 1