Release Build In android(React Native),App crash happens

My app (react native android) run in debug mode properly but in release mode app is crashed.
Below are my dependencies.
dependencies {
implementation project(’:react-native-gesture-handler’)
implementation fileTree(dir: “libs”, include: ["*.jar"])
implementation “com.facebook.react:react-native:+” // From node_modules
implementation (‘org.jitsi.react:jitsi-meet-sdk:2.+’) { transitive = true }
if (enableHermes) {
def hermesPath = “…/…/node_modules/hermes-engine/android/”;
debugImplementation files(hermesPath + “hermes-debug.aar”)
releaseImplementation files(hermesPath + “hermes-release.aar”)
} else {
implementation jscFlavor
}
}

Error in LogCat Below
E/rtc: #

Fatal error in: …/…/sdk/android/src/jni/jni_generator_helper.cc, line 28

last system error: 88

Check failed: !clazz.is_null()

org/webrtc/WebRtcClassLoader

Please paste the full crash log. Also, are you currently using Hermes?

I Got The Same While running release apk but debug is running fine…

2020-05-22 14:21:44.321 472-2816/? E/ANDR-PERF-MPCTL: Invalid profile no. 0, total profiles 0 only
2020-05-22 14:21:44.352 746-746/? E/cnss-daemon: Stale or unreachable neighbors, ndm state: 4
2020-05-22 14:21:44.457 29794-29838/? E/rtc: #
# Fatal error in: …/…/sdk/android/src/jni/jni_generator_helper.cc, line 28
# last system error: 88
# Check failed: !clazz.is_null()
# org/webrtc/WebRtcClassLoader

--------- beginning of crash

2020-05-22 14:21:44.458 29794-29838/? A/libc: Fatal signal 6 (SIGABRT), code -6 in tid 29838 (pool-3-thread-1)
2020-05-22 14:21:44.531 29839-29839/? A/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
2020-05-22 14:21:44.531 29839-29839/? A/DEBUG: Build fingerprint: ‘xiaomi/mido/mido:7.0/NRD90M/V11.0.2.0.NCFMIXM:user/release-keys’
2020-05-22 14:21:44.531 29839-29839/? A/DEBUG: Revision: ‘0’
2020-05-22 14:21:44.532 29839-29839/? A/DEBUG: ABI: ‘arm64’
2020-05-22 14:21:44.532 29839-29839/? A/DEBUG: pid: 29794, tid: 29838, name: pool-3-thread-1 >>> com.jitsi.conferhub <<<
2020-05-22 14:21:44.532 29839-29839/? A/DEBUG: signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
2020-05-22 14:21:44.532 29839-29839/? A/DEBUG: x0 0000000000000000 x1 000000000000748e x2 0000000000000006 x3 0000000000000008
2020-05-22 14:21:44.532 29839-29839/? A/DEBUG: x4 0000000000000000 x5 0000000000000000 x6 8080808080808080 x7 716463606e4b7272
2020-05-22 14:21:44.532 29839-29839/? A/DEBUG: x8 0000000000000083 x9 ffffffffffffffdf x10 0000000000000000 x11 0000000000000001
2020-05-22 14:21:44.532 29839-29839/? A/DEBUG: x12 ffffffffffffffff x13 0000000000000000 x14 0000000000000000 x15 001b490bc559875c
2020-05-22 14:21:44.532 29839-29839/? A/DEBUG: x16 0000007f9b7afed0 x17 0000007f9b759510 x18 00000000ebad6082 x19 0000007f76fa64f8
2020-05-22 14:21:44.532 29839-29839/? A/DEBUG: x20 0000000000000006 x21 0000007f76fa6450 x22 0000000000000058 x23 a5df395f953c9a3c
2020-05-22 14:21:44.532 29839-29839/? A/DEBUG: x24 0000007f76fa434c x25 0000007f98305e60 x26 0000007f9823e180 x27 0000000000000000
2020-05-22 14:21:44.532 29839-29839/? A/DEBUG: x28 0000007f7b1f6000 x29 0000007f76fa3ea0 x30 0000007f9b7569a0
2020-05-22 14:21:44.532 29839-29839/? A/DEBUG: sp 0000007f76fa3e80 pc 0000007f9b759518 pstate 0000000060000000
2020-05-22 14:21:44.647 29839-29839/? A/DEBUG: backtrace:
2020-05-22 14:21:44.647 29839-29839/? A/DEBUG: #00 pc 000000000006b518 /system/lib64/libc.so (tgkill+8)
2020-05-22 14:21:44.647 29839-29839/? A/DEBUG: #01 pc 000000000006899c /system/lib64/libc.so (pthread_kill+64)
2020-05-22 14:21:44.647 29839-29839/? A/DEBUG: #02 pc 0000000000023ee8 /system/lib64/libc.so (raise+24)
2020-05-22 14:21:44.647 29839-29839/? A/DEBUG: #03 pc 000000000001c96c /system/lib64/libc.so (abort+52)
2020-05-22 14:21:44.647 29839-29839/? A/DEBUG: #04 pc 00000000002030c4 /data/app/com.jitsi.conferhub-1/lib/arm64/libjingle_peerconnection_so.so
2020-05-22 14:21:44.647 29839-29839/? A/DEBUG: #05 pc 00000000002b8c4c /data/app/com.jitsi.conferhub-1/lib/arm64/libjingle_peerconnection_so.so
2020-05-22 14:21:44.647 29839-29839/? A/DEBUG: #06 pc 00000000002b6138 /data/app/com.jitsi.conferhub-1/lib/arm64/libjingle_peerconnection_so.so
2020-05-22 14:21:44.647 29839-29839/? A/DEBUG: #07 pc 00000000001fe3e0 /data/app/com.jitsi.conferhub-1/lib/arm64/libjingle_peerconnection_so.so (JNI_OnLoad+32)
2020-05-22 14:21:44.647 29839-29839/? A/DEBUG: #08 pc 00000000002f0c58 /system/lib64/libart.so (ZN3art9JavaVMExt17LoadNativeLibraryEP7_JNIEnvRKNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEP8_jobjectP8_jstringPS9+2136)
2020-05-22 14:21:44.647 29839-29839/? A/DEBUG: #09 pc 000000000000427c /system/lib64/libopenjdkjvm.so (JVM_NativeLoad+280)
2020-05-22 14:21:44.647 29839-29839/? A/DEBUG: #10 pc 000000000063de20 /system/framework/arm64/boot.oat (offset 0x5a2000) (java.lang.Runtime.nativeLoad+204)
2020-05-22 14:21:44.647 29839-29839/? A/DEBUG: #11 pc 000000000063d8c0 /system/framework/arm64/boot.oat (offset 0x5a2000) (java.lang.Runtime.doLoad+204)
2020-05-22 14:21:44.647 29839-29839/? A/DEBUG: #12 pc 000000000063f6a0 /system/framework/arm64/boot.oat (offset 0x5a2000) (java.lang.Runtime.loadLibrary0+748)
2020-05-22 14:21:44.647 29839-29839/? A/DEBUG: #13 pc 000000000065a414 /system/framework/arm64/boot.oat (offset 0x5a2000) (java.lang.System.loadLibrary+96)
2020-05-22 14:21:44.647 29839-29839/? A/DEBUG: #14 pc 00000000000d2b68 /system/lib64/libart.so (art_quick_invoke_static_stub+600)
2020-05-22 14:21:44.647 29839-29839/? A/DEBUG: #15 pc 00000000000df5b0 /system/lib64/libart.so (ZN3art9ArtMethod6InvokeEPNS_6ThreadEPjjPNS_6JValueEPKc+252)
2020-05-22 14:21:44.647 29839-29839/? A/DEBUG: #16 pc 000000000028e688 /system/lib64/libart.so (ZN3art11interpreter34ArtInterpreterToCompiledCodeBridgeEPNS_6ThreadEPNS_9ArtMethodEPKNS_7DexFile8CodeItemEPNS_11ShadowFrameEPNS_6JValueE+312)
2020-05-22 14:21:44.647 29839-29839/? A/DEBUG: #17 pc 0000000000287664 /system/lib64/libart.so (ZN3art11interpreter6DoCallILb0ELb0EEEbPNS_9ArtMethodEPNS_6ThreadERNS_11ShadowFrameEPKNS_11InstructionEtPNS_6JValueE+592)
2020-05-22 14:21:44.647 29839-29839/? A/DEBUG: #18 pc 0000000000558e58 /system/lib64/libart.so (MterpInvokeStatic+356)
2020-05-22 14:21:44.647 29839-29839/? A/DEBUG: #19 pc 00000000000c5414 /system/lib64/libart.so (ExecuteMterpImpl+14612)
2020-05-22 14:21:45.647 1655-1776/? E/InputDispatcher: channel ‘cfe3260 com.jitsi.conferhub/com.jitsi.jitsi.MainActivity (server)’ ~ Channel is unrecoverably broken and will be disposed!
2020-05-22 14:21:45.647 1655-1776/? E/InputDispatcher: channel ‘664de42 com.jitsi.conferhub/org.jitsi.meet.sdk.JitsiMeetActivity (server)’ ~ Channel is unrecoverably broken and will be disposed!
2020-05-22 14:21:45.656 472-2816/? E/ANDR-PERF-MPCTL: Invalid profile no. 0, total profiles 0 only
2020-05-22 14:21:45.917 2116-17664/? E/NetworkScheduler.ATC: Called cancelTask for already completed task com.google.android.gms/.measurement.PackageMeasurementTaskService{u=0 tag=“Measurement.PackageMeasurementTaskService.UPLOAD_TASK_TAG” trigger=window{start=9s,end=20s,earliest=-356s,latest=-345s} requirements=[NET_CONNECTED] attributes=[PERSISTED] scheduled=-365s last_run=-146s jid=N/A status=ACTIVE retries=0 client_lib=GMS_TASK_SCHEDULER-201516000} :1
2020-05-22 14:21:45.930 2116-3657/? E/ExecutionCriteria: Package unavailable for task: com.google.android.apps.nbu.paisa.user/com.firebase.jobdispatcher.GooglePlayReceiver{u=10 tag="SyncTask4
" trigger=window{start=21599s,end=22809s,earliest=-16976713s,latest=-16975503s} requirements=[NET_CONNECTED] attributes=[PERSISTED] scheduled=-16998312s last_run=N/A jid=N/A status=PENDING retries=0 client_lib=FIREBASE_JOB_DISPATCHER-1}
2020-05-22 14:21:45.932 2116-3657/? E/ExecutionCriteria: Package unavailable for task: com.google.android.apps.nbu.paisa.user/com.firebase.jobdispatcher.GooglePlayReceiver{u=10 tag="SyncTask1
" trigger=window{start=259199s,end=260497s,earliest=-16739113s,latest=-16737815s} requirements=[NET_ANY,CHARGING] attributes=[PERSISTED] scheduled=-16998312s last_run=N/A jid=N/A status=PENDING retries=0 client_lib=FIREBASE_JOB_DISPATCHER-1}
2020-05-22 14:21:45.933 2116-3657/? E/ExecutionCriteria: Package unavailable for task: com.google.android.apps.nbu.paisa.user/com.firebase.jobdispatcher.GooglePlayReceiver{u=10 tag=“SyncTask” trigger=window{start=604799s,end=606001s,earliest=-16393513s,latest=-16392311s} requirements=[NET_ANY] attributes=[PERSISTED] scheduled=-16998312s last_run=N/A jid=N/A status=PENDING retries=0 client_lib=FIREBASE_JOB_DISPATCHER-1}
2020-05-22 14:21:45.962 2116-7812/? E/NetworkScheduler.ATC: Called cancelTask for already completed task com.google.android.gms/.measurement.PackageMeasurementTaskService{u=0 tag=“Measurement.PackageMeasurementTaskService.UPLOAD_TASK_TAG” trigger=window{start=9s,end=20s,earliest=-356s,latest=-345s} requirements=[NET_CONNECTED] attributes=[PERSISTED] scheduled=-365s last_run=-146s jid=N/A status=ACTIVE retries=0 client_lib=GMS_TASK_SCHEDULER-201516000} :1
2020-05-22 14:21:45.979 2116-3657/? E/ExecutionCriteria: Package unavailable for task: com.google.android.apps.nbu.paisa.user/com.firebase.jobdispatcher.GooglePlayReceiver{u=10 tag="SyncTask4
" trigger=window{start=21599s,end=22809s,earliest=-16976713s,latest=-16975503s} requirements=[NET_CONNECTED] attributes=[PERSISTED] scheduled=-16998312s last_run=N/A jid=N/A status=PENDING retries=0 client_lib=FIREBASE_JOB_DISPATCHER-1}
2020-05-22 14:21:45.981 2116-3657/? E/ExecutionCriteria: Package unavailable for task: com.google.android.apps.nbu.paisa.user/com.firebase.jobdispatcher.GooglePlayReceiver{u=10 tag=“SyncTask1_” trigger=window{start=259199s,end=260497s,earliest=-16739113s,latest=-16737815s} requirements=[NET_ANY,CHARGING] attributes=[PERSISTED] scheduled=-16998312s last_run=N/A jid=N/A status=PENDING retries=0 client_lib=FIREBASE_JOB_DISPATCHER-1}
2020-05-22 14:21:45.983 2116-3657/? E/ExecutionCriteria: Package unavailable for task: com.google.android.apps.nbu.paisa.user/com.firebase.jobdispatcher.GooglePlayReceiver{u=10 tag=“SyncTask” trigger=window{start=604799s,end=606001s,earliest=-16393513s,latest=-16392311s} requirements=[NET_ANY] attributes=[PERSISTED] scheduled=-16998312s last_run=N/A jid=N/A status=PENDING retries=0 client_lib=FIREBASE_JOB_DISPATCHER-1}
2020-05-22 14:21:45.998 2116-17664/? E/NetworkScheduler.ATC: Called cancelTask for already completed task com.google.android.gms/.measurement.PackageMeasurementTaskService{u=0 tag=“Measurement.PackageMeasurementTaskService.UPLOAD_TASK_TAG” trigger=window{start=9s,end=20s,earliest=-357s,latest=-346s} requirements=[NET_CONNECTED] attributes=[PERSISTED] scheduled=-366s last_run=-146s jid=N/A status=ACTIVE retries=0 client_lib=GMS_TASK_SCHEDULER-201516000} :1
2020-05-22 14:21:46.008 2190-2190/? E/Launcher: changeViewByFsGestureState, view=FitSystemWindowView, alpha=1.0, scale=1.0
2020-05-22 14:21:46.008 2190-2190/? E/Launcher: changeViewByFsGestureState, view=ShortcutMenuLayer, alpha=1.0, scale=1.0
2020-05-22 14:21:46.015 2116-3657/? E/ExecutionCriteria: Package unavailable for task: com.google.android.apps.nbu.paisa.user/com.firebase.jobdispatcher.GooglePlayReceiver{u=10 tag=“SyncTask4_” trigger=window{start=21599s,end=22809s,earliest=-16976713s,latest=-16975503s} requirements=[NET_CONNECTED] attributes=[PERSISTED] scheduled=-16998312s last_run=N/A jid=N/A status=PENDING retries=0 client_lib=FIREBASE_JOB_DISPATCHER-1}
2020-05-22 14:21:46.016 2116-3657/? E/ExecutionCriteria: Package unavailable for task: com.google.android.apps.nbu.paisa.user/com.firebase.jobdispatcher.GooglePlayReceiver{u=10 tag=“SyncTask1_” trigger=window{start=259199s,end=260497s,earliest=-16739113s,latest=-16737815s} requirements=[NET_ANY,CHARGING] attributes=[PERSISTED] scheduled=-16998312s last_run=N/A jid=N/A status=PENDING retries=0 client_lib=FIREBASE_JOB_DISPATCHER-1}
2020-05-22 14:21:46.018 2116-3657/? E/ExecutionCriteria: Package unavailable for task: com.google.android.apps.nbu.paisa.user/com.firebase.jobdispatcher.GooglePlayReceiver{u=10 tag=“SyncTask” trigger=window{start=604799s,end=606001s,earliest=-16393513s,latest=-16392311s} requirements=[NET_ANY] attributes=[PERSISTED] scheduled=-16998312s last_run=N/A jid=N/A status=PENDING retries=0 client_lib=FIREBASE_JOB_DISPATCHER-1}
2020-05-22 14:21:46.033 2116-17664/? E/NetworkScheduler.ATC: Called cancelTask for already completed task com.google.android.gms/.measurement.PackageMeasurementTaskService{u=0 tag=“Measurement.PackageMeasurementTaskService.UPLOAD_TASK_TAG” trigger=window{start=9s,end=20s,earliest=-357s,latest=-346s} requirements=[NET_CONNECTED] attributes=[PERSISTED] scheduled=-366s last_run=-146s jid=N/A status=ACTIVE retries=0 client_lib=GMS_TASK_SCHEDULER-201516000} :1
2020-05-22 14:21:46.046 2116-3657/? E/ExecutionCriteria: Package unavailable for task: com.google.android.apps.nbu.paisa.user/com.firebase.jobdispatcher.GooglePlayReceiver{u=10 tag=“SyncTask4_” trigger=window{start=21599s,end=22809s,earliest=-16976713s,latest=-16975503s} requirements=[NET_CONNECTED] attributes=[PERSISTED] scheduled=-16998312s last_run=N/A jid=N/A status=PENDING retries=0 client_lib=FIREBASE_JOB_DISPATCHER-1}
2020-05-22 14:21:46.047 2116-3657/? E/ExecutionCriteria: Package unavailable for task: com.google.android.apps.nbu.paisa.user/com.firebase.jobdispatcher.GooglePlayReceiver{u=10 tag=“SyncTask1_” trigger=window{start=259199s,end=260497s,earliest=-16739113s,latest=-16737815s} requirements=[NET_ANY,CHARGING] attributes=[PERSISTED] scheduled=-16998312s last_run=N/A jid=N/A status=PENDING retries=0 client_lib=FIREBASE_JOB_DISPATCHER-1}
2020-05-22 14:21:46.049 2116-3657/? E/ExecutionCriteria: Package unavailable for task: com.google.android.apps.nbu.paisa.user/com.firebase.jobdispatcher.GooglePlayReceiver{u=10 tag=“SyncTask” trigger=window{start=604799s,end=606001s,earliest=-16393513s,latest=-16392311s} requirements=[NET_ANY] attributes=[PERSISTED] scheduled=-16998312s last_run=N/A jid=N/A status=PENDING retries=0 client_lib=FIREBASE_JOB_DISPATCHER-1}
2020-05-22 14:21:46.456 1847-1847/? E/FullInputEventModel: onStartInput event aborted: vt2: could not obtain extracted text (class vt2)
2020-05-22 14:21:46.461 1847-1847/? E/FullInputEventModel: onStartInput event aborted: vt2: could not obtain extracted text (class vt2)

have you found solution ? I have the same problem

Yes i solved it by adding this in my build.gradle(Module:app)
release {
consumerProguardFiles 'proguard-project.txt’
}

Please try this and let me know if this works…