Hi!
Description
I’m trying to implement feature delivery of the zoom module in my app. However, the app fails when you try to test it locally using bundletool. This is the crash:
FATAL EXCEPTION: main
Process: us.zoom.sdkdynamic.sample, PID: 9610
java.lang.UnsatisfiedLinkError: dlopen failed: library “libzoom_util.so” not found: needed by /data/data/us.zoom.sdkdynamic.sample/files/splitcompat/1/native-libraries/feature_mobilertc.config.arm64_v8a/libcmmlib.so in namespace clns-9
at java.lang.Runtime.loadLibrary0(Runtime.java:1090)
at java.lang.Runtime.loadLibrary0(Runtime.java:1012)
at java.lang.System.loadLibrary(System.java:1765)
at com.zipow.cmmlib.AppContext.(AppContext.java:6)
at us.zoom.internal.impl.q2.a(ZoomSDKImpl.java:63)
at us.zoom.sdk.ZoomSDK.initialize(ZoomSDK.java:1)
at us.zoom.sdkdynamic.feature.mobilertc.JoinMeetingActivity.initSDK(JoinMeetingActivity.java:66)
at us.zoom.sdkdynamic.feature.mobilertc.JoinMeetingActivity.onCreate(JoinMeetingActivity.java:54)
at android.app.Activity.performCreate(Activity.java:9155)
at android.app.Activity.performCreate(Activity.java:9133)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1521)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:4262)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:4467)
at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:222)
at android.app.servertransaction.TransactionExecutor.executeNonLifecycleItem(TransactionExecutor.java:133)
at android.app.servertransaction.TransactionExecutor.executeTransactionItems(TransactionExecutor.java:103)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:80)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2823)
at android.os.Handler.dispatchMessage(Handler.java:110)
at android.os.Looper.loopOnce(Looper.java:248)
at android.os.Looper.loop(Looper.java:338)
at android.app.ActivityThread.main(ActivityThread.java:9067)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:593)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:932)
This crash can be reproduced in the dynamic_sample provided in the SDK using the following steps:
Generate bundles for the dynamic_sample project
Use bundletool with –local-testing to build the apks as they were to be served by the play store
Use bundletool to install the built apks into the device
Once the app is installed you can try to “download” the module and it will crash after trying to load the native libs libzoom_util.so.
The strange thing is that if I analyze the bundle I can see that the library is there. I have tried Relink to see if it helped but it threw the same error. Also, If I install the apk locally or locally from the bundles it works fine. The app actually works when i test it on google play, but it takes a lot of time doing these tests since I have to publish them. Have you managed to make this work locally? Any help would be awesome
Which Android Meeting SDK version?
I have tried 6.5.6 and 6.6.0 and both have the same error
To Reproduce(If applicable)
Steps to reproduce the behavior:
- Generate project bundles
- Use bundletool to generate local testing apks
- install the apks in the device using bundletool
- Try to use the dynamic module to see the error
Troubleshooting Routes
I’ve tried local builds and different zoom sdk versions on emulator and physical devices and they all fail.
Google Play internal test actually works
Smartphone (please complete the following information):
- Device: Pixel 9,
- OS: Android 16 arm64
- Device: Motorola razr 50
- OS: Android 16 arm64
Additional context
Used Relinker to see if it helped but it didn’t.