-
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
Missing class: java.lang.instrument.ClassFileTransformer #2266
Labels
Comments
We'll add a rule to ignore this warning in 1.4 release |
recheej
pushed a commit
to recheej/kotlinx.coroutines
that referenced
this issue
Dec 28, 2020
recheej
pushed a commit
to recheej/kotlinx.coroutines
that referenced
this issue
Dec 28, 2020
derat
added a commit
to derat/nup-android
that referenced
this issue
Feb 23, 2021
This seems changes Proguard junk to get rid of some warnings while building: R8: Missing class: java.lang.instrument.ClassFileTransformer R8: Missing class: sun.misc.SignalHandler Kotlin/kotlinx.coroutines#2266 (It may only fix ClassFileTransformer; not sure. I don't seem to see these every time.)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When building our Android app in release mode with gradle (and thereby also R8), the task
minifyReleaseWithR8
gives the following warning:Missing class: java.lang.instrument.ClassFileTransformer
Removing the following line from the dependency list the warning dissapers, so I assume it's related to that module:
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.3.9"
Here's stats I hope help identifying the issue:
I'm not sure if this is related to #2046 since the same class is mentioned. That issue is however for ProGuard and mentions other issues too.
The text was updated successfully, but these errors were encountered: