-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Provider kotlinx.coroutines.experimental.android.AndroidExceptionPreHandler not found #214
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
That seems to a ProGuard issue. |
You explicitly have to add
|
Thank you! But it would be systematic if it was the case no? |
Proguard conf is here https://code.videolan.org/videolan/vlc-android/blob/2.9.0/vlc-android/proguard.cfg |
The reason it is not systematic is that it happens only when some other uncaught exception happens. The app is about the crash, but the code that is supposed to handle that cannot handle the exception, because it cannot find |
I've assembled vlc-android release on my machine and looked into resulting |
Yes, proguard only applies on release builds.
|
Our team is getting recently having this crash. Caused by java.lang.ArrayStoreException Adding below lines also doesn't helped. The Android pre-handler for exceptions is loaded reflectively (via ServiceLoader).-keep class kotlinx.coroutines.experimental.android.AndroidExceptionPreHandler { *; } Please let me know is there a way to fix this. |
@Karthika-Kishore, please contact Android maintainers or the manufacturer of the device. This looks like a bug in modification facilities. |
We recently pushed VLC on beta, with some Kotlin code.
And we see some users reporting this ClassNotFoundException
Project configuration is:
Kotlin version 1.2.21
Kotlinx version 0.21.2
Identified devices are:
Acer GT-810 (rolex) Android 5.1
OnePlus One (A0001) Android 4.3
Xiaomi Redmi Note 4 (mido) Android 7.0
VLC gradle build files are here and here
Concerned exception handler here.
The text was updated successfully, but these errors were encountered: