0

我在控制台中收到以下错误,请帮助我,是否在发布到应用程序商店时出现任何问题(我为我的英语致歉&这是我的第一个采用了android应用工作室) MoreInfo我收到以下错误,同时在我的应用程序中构建我的已签名apk文件

Information:Gradle tasks [:app:assembleRelease] 
Error:warning: Ignoring InnerClasses attribute for an anonymous inner class 
Error:(android.support.v4.app.ab) that doesn't come with an 
Error:associated EnclosingMethod attribute. This class was probably produced by a... 
+0

该解决方案可以帮助。

回答

1

只需添加这些行到ProGuard配置文件(应用程序/ proguard-rules.pro)

-keepattributes EnclosingMethod 
-keepattributes InnerClasses 
-dontoptimize 
+0

感谢您的回答,我必须从我的gradle false“minifyEnabled false”从真正的+1为你的部分帮助 –

相关问题