Description
I have downloaded 3 mobile SDKs for ReactNative, Android (native) and iOS (native). Inside ReactNative SDK, there is a n example project, I tried to follow the documentation here Quickstart sample app but I cannot run this example project, too many error. I have started a brand new React Native project, and move the code of the example project to the new React Native project, after many fixes, I got my new project running with Zoom video call finally!! BUT, it only works well on Android 10 emulator and real devices. It crashed immediately on Android 11 emulators and devices. I have not tried iOS.
Which Mobile Video SDK version?
ReactNative 1.1.1, Android v1.1.2 (8685.1109)
To Reproduce(If applicable)
I can share my example ReactNative project code that is working well on Android 10 (I’ll remove my SDK key and secret), but it just crash on Android 11. I have the error from logcat
Logs
01-27 16:02:27.156 9589 9589 E AndroidRuntime: FATAL EXCEPTION: main
01-27 16:02:27.156 9589 9589 E AndroidRuntime: Process: com.testzoomvideo, PID: 9589
01-27 16:02:27.156 9589 9589 E AndroidRuntime: java.lang.UnsatisfiedLinkError: couldn’t find DSO to load: libjscexecutor.so caused by: dlopen failed: cannot locate symbol “__cxa_bad_typeid” referenced by “/data/app/~~nkTEqqRul-C849Vn1HDZpg==/com.testzoomvideo-vTqihSVkQA1VxQo5j2T3PQ==/lib/x86/libjsc.so”… result: 0
01-27 16:02:27.156 9589 9589 E AndroidRuntime: at com.facebook.soloader.SoLoader.doLoadLibraryBySoName(SoLoader.java:918)
01-27 16:02:27.156 9589 9589 E AndroidRuntime: at com.facebook.soloader.SoLoader.loadLibraryBySoNameImpl(SoLoader.java:740)
01-27 16:02:27.156 9589 9589 E AndroidRuntime: at com.facebook.soloader.SoLoader.loadLibraryBySoName(SoLoader.java:654)
01-27 16:02:27.156 9589 9589 E AndroidRuntime: at com.facebook.soloader.SoLoader.loadLibrary(SoLoader.java:634)
01-27 16:02:27.156 9589 9589 E AndroidRuntime: at com.facebook.soloader.SoLoader.loadLibrary(SoLoader.java:582)
01-27 16:02:27.156 9589 9589 E AndroidRuntime: at com.facebook.react.jscexecutor.JSCExecutor.loadLibrary(JSCExecutor.java:24)
01-27 16:02:27.156 9589 9589 E AndroidRuntime: at com.facebook.react.jscexecutor.JSCExecutor.(JSCExecutor.java:20)
01-27 16:02:27.156 9589 9589 E AndroidRuntime: at com.facebook.react.jscexecutor.JSCExecutor.loadLibrary(JSCExecutor.java:24)
01-27 16:02:27.156 9589 9589 E AndroidRuntime: at com.facebook.react.ReactInstanceManagerBuilder.getDefaultJSExecutorFactory(ReactInstanceManagerBuilder.java:352)
01-27 16:02:27.156 9589 9589 E AndroidRuntime: at com.facebook.react.ReactInstanceManagerBuilder.build(ReactInstanceManagerBuilder.java:319)
01-27 16:02:27.156 9589 9589 E AndroidRuntime: at com.facebook.react.ReactNativeHost.createReactInstanceManager(ReactNativeHost.java:95)
01-27 16:02:27.156 9589 9589 E AndroidRuntime: at com.facebook.react.ReactNativeHost.getReactInstanceManager(ReactNativeHost.java:42)
01-27 16:02:27.156 9589 9589 E AndroidRuntime: at com.testzoomvideo.MainApplication.onCreate(MainApplication.java:47)
01-27 16:02:27.156 9589 9589 E AndroidRuntime: at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1192)
01-27 16:02:27.156 9589 9589 E AndroidRuntime: at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6712)
01-27 16:02:27.156 9589 9589 E AndroidRuntime: at android.app.ActivityThread.access$1300(ActivityThread.java:237)
01-27 16:02:27.156 9589 9589 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1913)
01-27 16:02:27.156 9589 9589 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:106)
01-27 16:02:27.156 9589 9589 E AndroidRuntime: at android.os.Looper.loop(Looper.java:223)
01-27 16:02:27.156 9589 9589 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:7656)
01-27 16:02:27.156 9589 9589 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
01-27 16:02:27.156 9589 9589 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
01-27 16:02:27.156 9589 9589 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)
01-27 16:02:27.156 9589 9589 E AndroidRuntime: Caused by: java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol “__cxa_bad_typeid” referenced by “/data/app/~~nkTEqqRul-C849Vn1HDZpg==/com.testzoomvideo-vTqihSVkQA1VxQo5j2T3PQ==/lib/x86/libjsc.so”…
01-27 16:02:27.156 9589 9589 E AndroidRuntime: at java.lang.Runtime.load0(Runtime.java:939)
01-27 16:02:27.156 9589 9589 E AndroidRuntime: at java.lang.System.load(System.java:1628)
01-27 16:02:27.156 9589 9589 E AndroidRuntime: at com.facebook.soloader.SoLoader$1.load(SoLoader.java:405)
01-27 16:02:27.156 9589 9589 E AndroidRuntime: at com.facebook.soloader.DirectorySoSource.loadLibraryFrom(DirectorySoSource.java:77)
01-27 16:02:27.156 9589 9589 E AndroidRuntime: at com.facebook.soloader.DirectorySoSource.loadLibrary(DirectorySoSource.java:50)
01-27 16:02:27.156 9589 9589 E AndroidRuntime: at com.facebook.soloader.ApplicationSoSource.loadLibrary(ApplicationSoSource.java:89)
01-27 16:02:27.156 9589 9589 E AndroidRuntime: at com.facebook.soloader.SoLoader.doLoadLibraryBySoName(SoLoader.java:860)
01-27 16:02:27.156 9589 9589 E AndroidRuntime: … 22 more
01-27 16:02:27.159 510 9611 I DropBoxManagerService: add tag=data_app_crash isTagEnabled=true flags=0x2
01-27 16:02:27.159 510 1345 W ActivityTaskManager: Force finishing activity com.testzoomvideo/.MainActivity
01-27 16:02:27.160 307 361 D goldfish-address-space: claimShared: Ask to claim region [0x3eb85e000 0x3ebe61000]
Smartphone (please complete the following information):
- Device: emulator Pixel 4, real device
- OS: Android 11 (API30)