android studio错误,Error:warning: Ignoring InnerClasses attribute for an anonymous inner class
来源:互联网 发布:dsa数据 编辑:程序博客网 时间:2024/05/20 20:45
rror:warning: Ignoring InnerClasses attribute for an anonymous inner class
Error:(com.unionpay.mobile.android.pboctransaction.a) 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.
大概长上面那样。
这种错误可能会影响打包以及功能,没有无缘无故的错误提示,尽量排查。
1. 大概方向,有类重复引用。比如第三方的jar包里面包含了你工程中已有jar包。可以检查一下jar包。2. keystore密码错误。
3. 发现jar包内含有反射等地方,会出现此类错误,因stuido生成app时是混淆的,所以请添加混淆规则
在proguard-rules.pro中添加
-keepattributes Signature
-keepattributes EnclosingMethod
4. 此错误只在第一次clean后安装APP出现,打包和之后都不出现,怀疑这种方式可能是as有bug?clean后未生成文件就去检查错误????????
关于此类错误提示,谁有新的解决方案的也请分享下。
- Android studio 2.2 Error:warning: Ignoring InnerClasses attribute for an anonymous inner class错误
- android studio错误,Error: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
- 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: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: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: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:warning: Ignoring InnerClasses attribute for an anonymous inner class
- AndroidStudio文件夹结构视图讲解
- TensorFlow 最小二乘法拟合
- Kconfig和Makefile的编辑
- Android JNI 分支C进程
- Windows server 2008 企业版 Sqlserver2008标准版在IBM X3650上实现双机热备1
- android studio错误,Error:warning: Ignoring InnerClasses attribute for an anonymous inner class
- Dagger2使用(一)Dagger2 介绍
- 深度学习——训练过程
- 问个好
- Caffe Windows CPU 安装
- http协议详解
- 查看MySQL数据库的死锁信息
- gaussian mixture model
- unity3d 5.5以上场景物体不能被移动不能编辑问题