-
Notifications
You must be signed in to change notification settings - Fork 1.9k
invokeSuspend throws NullPointer while minifyEnabled is true #910
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
Comments
It is a bug in minifier, we can't fix it from |
@tRuNKator , R8 team fixed the issue, but how can I use the version with this fix? |
You can apply new version manually. But I don't know if this fix entered this version.
|
Hi, I have the same problem. So, no chance to use R8, but in "normal" proguard bug also exists. |
You can work around by turning off minification or tweaking minification settings. I'm not sure there's anything more we can help with. |
Hello, I used version 1.0.1, but found a problem when exceptions were not processed if the coroutine was canceled (same issue(fixed in new version)). Now I have updated the version to 1.1.0-alpha. And again I ran into another problem. Such code:
MainActivity.kt
Utils.kt:
Generates such code for Utils.kt (see on last line):
Even with this rules:
AS 3.4 Canary 9, android gradle plugin ver 3.4.0-alpha09, kotlin version 1.3.11
The text was updated successfully, but these errors were encountered: