
androID { compileSdkVersion 23 buildToolsversion "23.0.3" defaultConfig { applicationID "com.jinjiang.computer.tianyi" minSdkVersion 18 targetSdkVersion 23 versionCode 1 versionname "1.0" } buildTypes { release { MinifyEnabled false proguardfiles getDefaultProguardfile('proguard-androID.txt'),'proguard-rules.pro' } } repositorIEs { maven { url "https://jitpack.io" } } dependencIEs { compile filetree(include: ['*.jar'],dir: 'libs') testCompile 'junit:junit:4.12' compile files('F:/AndroIDStudioProjects/TianYi/libs/Msc.jar') compile files('F:/AndroIDStudioProjects/TianYi/libs/Sunflower.jar') compile 'com.androID.support:appcompat-v7:23.3.0' compile 'com.androID.support:design:23.3.0' compile 'com.androID.support:support-v4:23.3.0' compile 'org.apache.poi:poi:3.14' compile 'com.github.PhilJay:MPAndroIDChart:v2.0.8' } Error:warning: Ignoring InnerClasses attribute for an anonymous
inner class
Error:(com.iflytek.cloud.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.
Error:warning: Ignoring InnerClasses
attribute for an anonymous inner class
Error:(com.iflytek.cloud.b) 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.
Error:warning: Ignoring InnerClasses
attribute for an anonymous inner class…
Error:(com.iflytek.thrIDparty.T) 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.
Error:warning: Ignoring InnerClasses
attribute for an anonymous inner class
Error:(com.iflytek.thrIDparty.aA) 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
等等
解决方法 前段时间我通过在proguard-rules.pro文件中添加以下行来消除这些警告:-keepattributes InnerClasses,EnclosingMethod-dontoptimize总结
以上是内存溢出为你收集整理的android – Gradle build完成了520错误但APK已成功生成全部内容,希望文章能够帮你解决android – Gradle build完成了520错误但APK已成功生成所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
微信扫一扫
支付宝扫一扫
评论列表(0条)