-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Unable to remove DebugMetadata annotation with ProGuard #2267
Comments
It looks like an R8 problem. I'd suggest to report it to the R8 team. |
I have the following in my R8 rules that removes the annotation for me:
There is some more information in the following issue: https://issuetracker.google.com/issues/155947700 |
Please follow the linked issue on Google tracker, this is indeed an R8 problem |
Should these rules be added to coroutines.pro? Lines 17 to 22 in 11daf82
|
I have an app that is being obfuscated and shrunk by R8 (not a fullMode). Even after that the
kotlin.coroutines.jvm.internal.DebugMetadata
class is kept (obfuscated) above every class that is using coroutines.As I went through the documentation and other issues, I found zero references about how to get rid of this annotation that (as names suggest) shouldn't be there on a release build.
The code after the R8:
Is there a way how to get rid of it other than just getting rid of the coroutines altogether?
The text was updated successfully, but these errors were encountered: