Unsatisfiedlinkerror-dlopen-failed-library-libc-shared-so-not-found

I am trying to integrate zoom SDK (v6.0.2.21328) in Android . When i try to run the sample App then it is crashing with below exception.


Description

FATAL EXCEPTION: main
Process: us.zoom.sdkexample2, PID: 14019
java.lang.UnsatisfiedLinkError: dlopen failed: library “libc++_shared.so” not found
at java.lang.Runtime.loadLibrary0(Runtime.java:1077)
at java.lang.Runtime.loadLibrary0(Runtime.java:998)
at java.lang.System.loadLibrary(System.java:1661)
at com.zipow.cmmlib.AppContext.(AppContext.java:1)
at com.zipow.cmmlib.AppContext.initialize(AppContext.java:1)
at us.zoom.internal.impl.e.a(ZoomSDKImpl.java:63)
at us.zoom.sdk.ZoomSDK.initialize(ZoomSDK.java:1)
at us.zoom.sdkexample2.MainActivity.onCreate(MainActivity.java:57)
at android.app.Activity.performCreate(Activity.java:8305)
at android.app.Activity.performCreate(Activity.java:8284)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1417)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3626)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3782)
at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:101)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2307)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loopOnce(Looper.java:201)
at android.os.Looper.loop(Looper.java:288)
at android.app.ActivityThread.main(ActivityThread.java:7872)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:936)

Which Android Meeting SDK version?
v6.0.2.21328

To Reproduce(If applicable)

Run the sample app,
set jwt token
once the SDK init will be invoked, then app will crash

**Troubleshooting details **

I have tried setting the packaging option in the gradle file, still the error is same

packagingOptions {
pickFirst ‘lib/armeabi-v7a/libc++_shared.so’
pickFirst ‘lib/arm64-v8a/libc++_shared.so’
pickFirst ‘lib/x86/libc++_shared.so’
pickFirst ‘lib/x86_64/libc++_shared.so’
}

Emulator Details:

  • image. sysdir.1 : System-images/android -33/google_apis/x86_64
  • Device: Pixel_6
  • API level: 33

@chunsiong.zoom Can you help with this?

@mustanseriqbal93 I’ve just tried this version 6.0.2 and it works. I’m unable to replicate the same issue you are having.

As per 6.0.2 changelog, support for x86 and x86_64 has been removed.

have you tried it on the same emulator on any other device? Because it is still crashing for me when I am about to initialize the SDK.

Which System image i can use to test the SDK integration?

@chunsiong.zoom I have recorded the screen, and you can see it is crashing, Can you please help?
Please open the link below.

drive.google. com/file/d/1il5JUPSbGtR7JnzC9QBwL2yg2P5CjUgY/view?usp=sharing

We are looking forward to hearing from you!

Have a nice day!

It’ll work on actual/real devices. Don’t test it on emulators.