-
Notifications
You must be signed in to change notification settings - Fork 303
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
Test apk not getting shrinked (obfuscated) #27
Comments
I tried 2.2.1 (what this repo has right now) and 3.0.1 (upgraded the repo) and it both works. For me it didn't work though, and the reason seems to be because I was trying to apply it to a library module (https://issuetracker.google.com/issues/70901453). |
I had the same issue as @rokos. It wasn't limited to library module though as was the case for @TWiStErRob . I filed a bug for it: A google engineer responded:
So it looks like the documentation in this repo is actually wrong. |
@tir38 Thanks. I googled around the whole day, and found your question on SO. I think you are right. Proguad doesn't work for test app. both your reported bug and this one say the same issue. |
If you try to minify (proguard) debug build by un-commenting :
in app's build.gradle, *-androidTest.apk doesnt get obfuscated and method count is not reduced.
The text was updated successfully, but these errors were encountered: