Test_Me
Test_Me

Reputation: 29

I am getting following error while build my signed apk in my app

I am getting following error in my console, please help me, is there any problem in publishing to app store.(i apologize for my English & this is my first app using android studio) MoreInfo

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...

Upvotes: 0

Views: 96

Answers (1)

madless
madless

Reputation: 84

Just add these lines to the ProGuard config (app/proguard-rules.pro)

-keepattributes EnclosingMethod
-keepattributes InnerClasses
-dontoptimize

Upvotes: 1

Related Questions