zegoim/zego-express-flutter-sdk

JNI DETECTED ERROR IN APPLICATION: java_object == null

Opened this issue · 0 comments

My flutter app is working fine in debug mode but when I am making a release apk then I am getting this error and my app is crashing just after the apk is installed.
Initially my app was working fine in release mode also but after using the package zego_express_engine my app is crashing in release mode.

I am using the latest version of the zego_express_engine (^3.15.1+2), flutter version (3.22.2)
how can I fix this error?

note: This is part of the exception, but not all of it
F/celebrate.fazIt(10584): java_vm_ext.cc:591] JNI DETECTED ERROR IN APPLICATION: java_object == null
F/celebrate.fazIt(10584): java_vm_ext.cc:591] in call to GetObjectClass
F/celebrate.fazIt(10584): java_vm_ext.cc:591] from java.lang.String java.lang.Runtime.nativeLoad(java.lang.String, java.lang.ClassLoader, java.lang.Class)
F/celebrate.fazIt(10584): runtime.cc:691] Runtime aborting...
F/celebrate.fazIt(10584): runtime.cc:691] Dumping all threads without mutator lock held
F/celebrate.fazIt(10584): runtime.cc:691] All threads:
F/celebrate.fazIt(10584): runtime.cc:691] DALVIK THREADS (42):
F/celebrate.fazIt(10584): runtime.cc:691] "main" prio=10 tid=1 Runnable
F/celebrate.fazIt(10584): runtime.cc:691] | group="" sCount=0 ucsCount=0 flags=0 obj=0x725aecd8 self=0xb400007b39d506f0
F/celebrate.fazIt(10584): runtime.cc:691] | sysTid=10584 nice=-10 cgrp=top-app sched=0/0 handle=0x7c050514f8
F/celebrate.fazIt(10584): runtime.cc:691] | state=R schedstat=( 288341462 329437508 307 ) utm=11 stm=17 core=0 HZ=100
F/celebrate.fazIt(10584): runtime.cc:691] | stack=0x7fc4121000-0x7fc4123000 stackSize=8188KB
F/celebrate.fazIt(10584): runtime.cc:691] | held mutexes= "abort lock" "mutator lock"(shared held)
F/celebrate.fazIt(10584): runtime.cc:691] native: #00 pc 00438384 /apex/com.android.art/lib64/libart.so (art::DumpNativeStack+108) (BuildId: b10f5696fea1b32039b162aef3850ed3)
F/celebrate.fazIt(10584): runtime.cc:691] native: #1 pc 00474f5c /apex/com.android.art/lib64/libart.so (art::Thread::DumpStack const+828) (BuildId: b10f5696fea1b32039b162aef3850ed3)
F/celebrate.fazIt(10584): runtime.cc:691] native: #2 pc 00474624 /apex/com.android.art/lib64/libart.so (art::DumpCheckpoint::Run+208) (BuildId: b10f5696fea1b32039b162aef3850ed3)
F/celebrate.fazIt(10584): runtime.cc:691] native: #3 pc 0035036c /apex/com.android.art/lib64/libart.so