对于解决androidstudio编辑时发生的错误Error:warning: Ignoring InnerClasses attribute for an anonymous inner class
2018-03-13 20:36
579 查看
之前有这个错误,但是不影响apk打包,今天发现了这个文章,尝试删除了一个导入包,完美解决
删除重复的引用
用AndroidStudio打签名包时android.keystore 的密码输入错了也会报这个
Android studio 运行不起来,报错详情:
Error:warning: Ignoring InnerClasses attribute for an anonymous inner class
Error:(cn.bmob.v3.util.Tempest) 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.
解决办法如下:一般情况下,发生这种错误多数情况下都是你导包上面出了问题。最常见的是导了不同版本的重复jar包。那把重复的jar包删除掉,Rebuild Project.就可以解决。如果,还有其他问题,那证明你的app下的build.gradle配置就有问题。还有,用AndroidStudio打签名包时android.keystore 的密码输入错了也会报这个。
参考文章:http://blog.csdn.net/msn465780/article/details/51457911引用地址 地址
删除重复的引用
用AndroidStudio打签名包时android.keystore 的密码输入错了也会报这个
Android studio 运行不起来,报错详情:
Error:warning: Ignoring InnerClasses attribute for an anonymous inner class
Error:(cn.bmob.v3.util.Tempest) 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.
解决办法如下:一般情况下,发生这种错误多数情况下都是你导包上面出了问题。最常见的是导了不同版本的重复jar包。那把重复的jar包删除掉,Rebuild Project.就可以解决。如果,还有其他问题,那证明你的app下的build.gradle配置就有问题。还有,用AndroidStudio打签名包时android.keystore 的密码输入错了也会报这个。
参考文章:http://blog.csdn.net/msn465780/article/details/51457911引用地址 地址
相关文章推荐
- 对于解决androidstudio编辑时发生的错误Error:warning: Ignoring InnerClasses attribute for an anonymous inner class
- Error:warning: Ignoring InnerClasses attribute for an anonymous inner class 错误怎么解决
- 解决as打包签名的一系列错误Error:warning: Ignoring InnerClasses attribute for an anonymous inner class
- Androidstudio代码混淆Error:warning: Ignoring InnerClasses attribute for an anonymous inner class
- android开发 签名打包时错误Error:warning: Ignoring InnerClasses attribute for an anonymous inner class
- android studio错误,Error:warning: Ignoring InnerClasses attribute for an anonymous inner class
- 编译超过2000+错误Error:warning: Ignoring InnerClasses attribute for an anonymous inner class
- Error:warning: Ignoring InnerClasses attribute for an anonymous inner class
- android开发 项目运行时Error:warning: Ignoring InnerClasses attribute for an anonymous inner class
- Error:warning: Ignoring InnerClasses attribute for an anonymous inner class...produced by a compiler
- Error:warning: Ignoring InnerClasses attribute for an anonymous inner class
- 运行时候出现问题Error:warning: Ignoring InnerClasses attribute for an anonymous inner class
- 百度地图Error:warning: Ignoring InnerClasses attribute for an anonymous inner class Error:(com.baidu.map
- Error:warning: Ignoring InnerClasses attribute for an anonymous inner class
- Error:warning: Ignoring InnerClasses attribute for an anonymous inner class
- Error:warning: Ignoring InnerClasses attribute for an anonymous inner class
- android studio解决warning: Ignoring InnerClasses attribute for an anonymous inner class
- Android Studio Error:warning: Ignoring InnerClasses attribute for an anonymous inner class
- Android Error:warning: Ignoring InnerClasses attribute for an anonymous inner class
- Error:warning: Ignoring InnerClasses attribute for an anonymous inner class