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
App crashes on release mode #206
Comments
@abbas2501 can you share your |
@abbas2501 can you try updating the android-sdk to |
Same result - Here are the logs --
|
same error |
@ygit waiting upon your reply! |
@abbas2501 we are working on this. Will update when we have a fix for this |
E/AndroidRuntime(20187): java.lang.IllegalAccessError:
'live.hms.video.signal.init.InitService' attempting to access 'kotlinx.coroutines.v' (declaration of 'live.hms.video.signal.init.InitService' appears in /data/app/~~OST-0LR3vADKtYmgrToMuQ==/in.zuzu.videopoc-NP6cb98EBpZpY6zWuy_Xog==/base.apk) ---- @abbas2501 , "InitService" this file seems to be getting obfuscated by proguard or is in a different jar and classloader , did you try using "-keepnames" in your example app's proguard file to prevent obfuscation of this file and try again ? cc : @ygit |
@abbas2501 were you able to resolve this issue? |
We are testing the proof of concept app in debug mode at the moment. If all functions well, i'll try this fix. |
@abbas2501 alright. Let us know if you face this issue again. Closing for now. |
Apparently, on the latest flutter, latest hmssdk_flutter, the issue got resolved without doing anything else. |
great! |
Works fine on the debug modem however it crashes when running on release mode.
Proguard rules are intact and copied from the example project.
Is there anything I'm missing ?
My app/build.gradle dependencies -
flutter doctor -
The text was updated successfully, but these errors were encountered: