Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proguard error - Need help with proguard configuration #28

Open
vinaywadhwa opened this issue May 7, 2019 · 0 comments
Open

Proguard error - Need help with proguard configuration #28

vinaywadhwa opened this issue May 7, 2019 · 0 comments

Comments

@vinaywadhwa
Copy link

When i try to build my app, which uses this library (Version 5.0), i get the following error during transformClassesAndResourcesWithProguardForRelease build step

Preverifying...
Unexpected error while performing partial evaluation:
 Class       = [com/stericson/RootTools/SanityCheckRootTools$SanityCheckThread]
 Method      = [run()V]
 Exception   = [java.lang.IllegalArgumentException] (Can't find common super class of [com/stericson/RootTools/SanityCheckRootTools$SanityCheckThread$2] (with 1 known super classes) and [java/lang/Exception] (with 3 known super classes))
Unexpected error while preverifying:
 Class       = [com/stericson/RootTools/SanityCheckRootTools$SanityCheckThread]
 Method      = [run()V]
 Exception   = [java.lang.IllegalArgumentException] (Can't find common super class of [com/stericson/RootTools/SanityCheckRootTools$SanityCheckThread$2] (with 1 known super classes) and [java/lang/Exception] (with 3 known super classes))
Warning: Exception while processing task java.io.IOException: java.lang.IllegalArgumentException: Can't find common super class of [com/stericson/RootTools/SanityCheckRootTools$SanityCheckThread$2] (with 1 known super classes) and [java/lang/Exception] (with 3 known super classes)
Thread(Tasks limiter_10): destruction

I have this in my proguard config already

-keep public class com.stericson.** { *; }
-keep class com.stericson.RootTools.** { *; }
-keep interface com.stericson.** { *; }
-dontwarn com.stericson.**

Can someone help?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant