JY2k
JY2k

Reputation: 2909

Third party library without Proguard rules causing Proguard error

I am receiving the following error when trying to release an obfuscated version using proguard:

  • What went wrong: Execution failed for task ':MyApp:transformClassesAndResourcesWithProguardForMyAppRelease'. java.io.IOException: Please correct the above warnings first.

Updated all my libraries to the latest version and I'm using gradle 2.0.0.

Upvotes: 0

Views: 290

Answers (1)

yash sachdeva
yash sachdeva

Reputation: 636

I saw these errors too, while uploading my first app.See if this works

-dontwarn <package of the class giving error>.** 

Write it in your proguard-rules.pro

Upvotes: 0

Related Questions