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 Crash in Release Mode #48
Comments
AgoraIO-Extensions/Agora-Flutter-SDK#32 |
I followed this now the app is not crashing on release mode . But when i try to update it on play store, i receive the following error The following APKs or App Bundles are available to 64-bit devices, but they only have 32-bit native code: 9. Include 64-bit and 32-bit native code in your app. Use the Android App Bundle publishing format to automatically ensure that each device architecture receives only the native code it needs. This avoids increasing the overall size of your app And when i remove Agora from my project .This error also goes and i am able to publish the app on the Play Store |
i will double check this issue tomorrow |
Did you check it sir? |
could you pls try following this thread to see if it fix your issue? |
I Tried them all, listed in this thread, the problem still persists! |
hey, check
|
I have done both of these, also there are many solutions in that thread. Can you please tell me one universal solution because I've tried different versions of those and they are not working. Thank you |
it just a minify problem, |
you can give me your demo, I will try to help you |
Sir my demo is a really normal application that was working fine on the play store also but not working when using this package. Please help |
can you modify our demo to repeat the bug? |
To repeat the bug, just upload your demo on the play store. The app downloads properly but does not get open |
before upload, the apk will crash by install with adb? |
I'm having the same issue. Is there any solution yet? |
disabling |
please refer to the |
The issue has been resolved for me. Thanks ! |
@HardikkMadaan How did you solve this issue? |
I integrated it into my project. I tested it in debug mode it worked. But when you publish it on google play, the application closes. |
@alidemircans what version have you used? |
I faced the same problem with Flutter + Agora, I followed these steps which solved my problem:
Finally, make sure that your Agora project stage supports live. |
I tried the solution given on the |
I also followed solution on |
pls provide the error log |
When I run command |
Android: from adb logcat |
Yes, this was very helpful. I was using agora in react-native and this solution fixed the above "App Crash in Release Mode" bug. Thank you @HardikkMadaan |
This issue still persist |
The app crashes as soon as i try to enter a channel name and click on join in release mode .
I have added the keep class statement to my proguard file and also removed 'arm-v8a- from the ndk in build.gradle.
This is my log. Please help!
'''
E/flutter ( 5813): [ERROR:flutter/shell/platform/android/platform_view_android_jni.cc(39)] java.lang.NoSuchMethodError: no static or non-static method "Lio/agora/rtc/internal/RtcEngineImpl;.nativeGetParameters(JLjava/lang/String;)Ljava/lang/String;"
E/flutter ( 5813): at java.lang.Runtime.nativeLoad(Native Method)
E/flutter ( 5813): at java.lang.Runtime.doLoad(Runtime.java:435)
E/flutter ( 5813): at java.lang.Runtime.loadLibrary(Runtime.java:370)
E/flutter ( 5813): at java.lang.System.loadLibrary(System.java:1076)
E/flutter ( 5813): at io.agora.rtc.internal.RtcEngineImpl.E(Unknown Source)
E/flutter ( 5813): at io.agora.rtc.internal.RtcEngineImpl.F(Unknown Source)
E/flutter ( 5813): at io.agora.rtc.c.a(Unknown Source)
E/flutter ( 5813): at io.agora.a.c.onMethodCall(Unknown Source)
E/flutter ( 5813): at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(Unknown Source)
E/flutter ( 5813): at io.flutter.embedding.engine.dart.DartMessenger.handleMessageFromDart(Unknown Source)
E/flutter ( 5813): at io.flutter.embedding.engine.FlutterJNI.handlePlatformMessage(Unknown Source)
E/flutter ( 5813): at android.os.MessageQueue.nativePollOnce(Native Method)
E/flutter ( 5813): at android.os.MessageQueue.next(MessageQueue.java:323)
E/flutter ( 5813): at android.os.Looper.loop(Looper.java:135)
E/flutter ( 5813): at android.app.ActivityThread.main(ActivityThread.java:5539)
E/flutter ( 5813): at java.lang.reflect.Method.invoke(Native Method)
E/flutter ( 5813): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
E/flutter ( 5813): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
E/flutter ( 5813):
F/flutter ( 5813): [FATAL:flutter/shell/platform/android/platform_view_android_jni.cc(76)] Check failed: CheckException(env).
'''
The text was updated successfully, but these errors were encountered: