[Android] Ignoring InnerClasses attribute for an anonymous inner class:错误
16lz
2021-12-18
[2015-09-11 11:18:21 - CxWork] Dx warning: Ignoring InnerClasses attribute for an anonymous inner class
(com.baidu.lbsapi.auth.l) 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
(com.baidu.lbsapi.auth.l) 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.
错误描述:项目没有红叉,但一运行就出现上述warning,同时项目名出现红叉,不能运行;
项目架构:主项目(sdk4.2.2),lib1(sdk4.2.2),lib2(sdk4.2.2);
修改:分别将两个lib的sdk改成2.2.3;
然后出现下述错误:
[2015-09-11 11:18:27 - CxWork] invalid resource directory name: D:\workspace\SwipeMenuListView\bin\res/crunch
将crunch文件夹删除;
更多相关文章
- 基于 MVP 架构使用Android通用开发框架快速开发微博项目实战
- 5分钟将OSC Android源码从Eclipse项目转化为Android(安卓)studio
- 10个经典的Android开源应用项目
- Android小项目——简易备忘录
- 基于android的音乐APP大作业和设计指导项目
- 对自己第一个android小项目的归纳总结
- 解决AndroidStudio编译报错:org.gradle.api.internal.artifacts.i
- Android上运行QT项目Necessitas的基本原理
- Android(安卓)Studio创建Android项目生成的文件详解