Couldn't find "libzoom_stlport.so"


#1

I am having an issue with integration. I am using the android sdk inside an Ionic plugin. This is the error I am getting when when the Zoom SDK is calling the initialize method:

java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[
zip file “/data/app/com.vivifyhealth.dev.go-jj1G6MCtk7n9ihyOdWFFzA==/base.apk”,
zip file “/data/app/com.vivifyhealth.dev.go-jj1G6MCtk7n9ihyOdWFFzA==/split_lib_dependencies_apk.apk”,
zip file “/data/app/com.vivifyhealth.dev.go-jj1G6MCtk7n9ihyOdWFFzA==/split_lib_slice_0_apk.apk”,
zip file “/data/app/com.vivifyhealth.dev.go-jj1G6MCtk7n9ihyOdWFFzA==/split_lib_slice_1_apk.apk”,
zip file “/data/app/com.vivifyhealth.dev.go-jj1G6MCtk7n9ihyOdWFFzA==/split_lib_slice_2_apk.apk”,
zip file “/data/app/com.vivifyhealth.dev.go-jj1G6MCtk7n9ihyOdWFFzA==/split_lib_slice_3_apk.apk”,
zip file “/data/app/com.vivifyhealth.dev.go-jj1G6MCtk7n9ihyOdWFFzA==/split_lib_slice_4_apk.apk”,
zip file “/data/app/com.vivifyhealth.dev.go-jj1G6MCtk7n9ihyOdWFFzA==/split_lib_slice_5_apk.apk”,
zip file “/data/app/com.vivifyhealth.dev.go-jj1G6MCtk7n9ihyOdWFFzA==/split_lib_slice_6_apk.apk”,
zip file “/data/app/com.vivifyhealth.dev.go-jj1G6MCtk7n9ihyOdWFFzA==/split_lib_slice_7_apk.apk”,
zip file “/data/app/com.vivifyhealth.dev.go-jj1G6MCtk7n9ihyOdWFFzA==/split_lib_slice_8_apk.apk”,
zip file “/data/app/com.vivifyhealth.dev.go-jj1G6MCtk7n9ihyOdWFFzA==/split_lib_slice_9_apk.apk”],nativeLibraryDirectories=[
/data/app/com.vivifyhealth.dev.go-jj1G6MCtk7n9ihyOdWFFzA==/lib/arm64,
/data/app/com.vivifyhealth.dev.go-jj1G6MCtk7n9ihyOdWFFzA==/base.apk!/lib/arm64-v8a,
/data/app/com.vivifyhealth.dev.go-jj1G6MCtk7n9ihyOdWFFzA==/split_lib_dependencies_apk.apk!/lib/arm64-v8a,
/data/app/com.vivifyhealth.dev.go-jj1G6MCtk7n9ihyOdWFFzA==/split_lib_slice_0_apk.apk!/lib/arm64-v8a,
/data/app/com.vivifyhealth.dev.go-jj1G6MCtk7n9ihyOdWFFzA==/split_lib_slice_1_apk.apk!/lib/arm64-v8a,
/data/app/com.vivifyhealth.dev.go-jj1G6MCtk7n9ihyOdWFFzA==/split_lib_slice_2_apk.apk!/lib/arm64-v8a,
/data/app/com.vivifyhealth.dev.go-jj1G6MCtk7n9ihyOdWFFzA==/split_lib_slice_3_apk.apk!/lib/arm64-v8a,
/data/app/com.vivifyhealth.dev.go-jj1G6MCtk7n9ihyOdWFFzA==/split_lib_slice_4_apk.apk!/lib/arm64-v8a,
/data/app/com.vivifyhealth.dev.go-jj1G6MCtk7n9ihyOdWFFzA==/split_lib_slice_5_apk.apk!/lib/arm64-v8a,
/data/app/com.vivifyhealth.dev.go-jj1G6MCtk7n9ihyOdWFFzA==/split_lib_slice_6_apk.apk!/lib/arm64-v8a,
/data/app/com.vivifyhealth.dev.go-jj1G6MCtk7n9ihyOdWFFzA==/split_lib_slice_7_apk.apk!/lib/arm64-v8a,
/data/app/com.vivifyhealth.dev.go-jj1G6MCtk7n9ihyOdWFFzA==/split_lib_slice_8_apk.apk!/lib/arm64-v8a,
/data/app/com.vivifyhealth.dev.go-jj1G6MCtk7n9ihyOdWFFzA==/split_lib_slice_9_apk.apk!/lib/arm64-v8a,
/system/lib64, /vendor/lib64]]] couldn’t find “libzoom_stlport.so”


#2

Hi Jason,

Thanks for using Zoom SDK. Unfortunately, our SDK does not support hybrid framework like Ionic at this point.
I was not able to identify the libzoom_stlport.so shared object file in our Android SDK. And I am not able to investigate the issue based on the info you posted. Can you provide more info on how you get this error message? What other error messages are you getting?

Thanks.


#3

My plugin is modeled after this one: https://github.com/wanyx2015/zoom-meeting-app

I have an activity that calls zoomSDK.initialize(this, APP_KEY, APP_SECRET, WEB_DOMAIN, this); and the app breaks at that point. Here is the whole exception:

E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.vivifyhealth.dev.go, PID: 16175
java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file “/data/app/com.vivifyhealth.dev.go-R4jYNBCwZrelCETuFAKPhw==/base.apk”, zip file “/data/app/com.vivifyhealth.dev.go-R4jYNBCwZrelCETuFAKPhw==/split_lib_dependencies_apk.apk”, zip file “/data/app/com.vivifyhealth.dev.go-R4jYNBCwZrelCETuFAKPhw==/split_lib_slice_0_apk.apk”, zip file “/data/app/com.vivifyhealth.dev.go-R4jYNBCwZrelCETuFAKPhw==/split_lib_slice_1_apk.apk”, zip file “/data/app/com.vivifyhealth.dev.go-R4jYNBCwZrelCETuFAKPhw==/split_lib_slice_2_apk.apk”, zip file “/data/app/com.vivifyhealth.dev.go-R4jYNBCwZrelCETuFAKPhw==/split_lib_slice_3_apk.apk”, zip file “/data/app/com.vivifyhealth.dev.go-R4jYNBCwZrelCETuFAKPhw==/split_lib_slice_4_apk.apk”, zip file “/data/app/com.vivifyhealth.dev.go-R4jYNBCwZrelCETuFAKPhw==/split_lib_slice_5_apk.apk”, zip file “/data/app/com.vivifyhealth.dev.go-R4jYNBCwZrelCETuFAKPhw==/split_lib_slice_6_apk.apk”, zip file “/data/app/com.vivifyhealth.dev.go-R4jYNBCwZrelCETuFAKPhw==/split_lib_slice_7_apk.apk”, zip file “/data/app/com.vivifyhealth.dev.go-R4jYNBCwZrelCETuFAKPhw==/split_lib_slice_8_apk.apk”, zip file “/data/app/com.vivifyhealth.dev.go-R4jYNBCwZrelCETuFAKPhw==/split_lib_slice_9_apk.apk”],nativeLibraryDirectories=[/data/app/com.vivifyhealth.dev.go-R4jYNBCwZrelCETuFAKPhw==/lib/arm64, /data/app/com.vivifyhealth.dev.go-R4jYNBCwZrelCETuFAKPhw==/base.apk!/lib/arm64-v8a, /data/app/com.vivifyhealth.dev.go-R4jYNBCwZrelCETuFAKPhw==/split_lib_dependencies_apk.apk!/lib/arm64-v8a, /data/app/com.vivifyhealth.dev.go-R4jYNBCwZrelCETuFAKPhw==/split_lib_slice_0_apk.apk!/lib/arm64-v8a, /data/app/com.vivifyhealth.dev.go-R4jYNBCwZrelCETuFAKPhw==/split_lib_slice_1_apk.apk!/lib/arm64-v8a, /data/app/com.vivifyhealth.dev.go-R4jYNBCwZrelCETuFAKPhw==/split_lib_slice_2_apk.apk!/lib/arm64-v8a, /data/app/com.vivifyhealth.dev.go-R4jYNBCwZrelCETuFAKPhw==/split_lib_slice_3_apk.apk!/lib/arm64-v8a, /data/app/com.vivifyhealth.dev.go-R4jYNBCwZrelCETuFAKPhw==/split_lib_slice_4_apk.apk!/lib/arm64-v8a, /data/app/com.vivifyhealth.dev.go-R4jYNBCwZrelCETuFAKPhw==/split_lib_slice_5_apk.apk!/lib/arm64-v8a, /data/app/com.vivifyhealth.dev.go-R4jYNBCwZrelCETuFAKPhw==/split_lib_slice_6_apk.apk!/lib/arm64-v8a, /data/app/com.vivifyhealth.dev.go-R4jYNBCwZrelCETuFAKPhw==/split_lib_slice_7_apk.apk!/lib/arm64-v8a, /data/app/com.vivifyhealth.dev.go-R4jYNBCwZrelCETuFAKPhw==/split_lib_slice_8_apk.apk!/lib/arm64-v8a, /data/app/com.vivifyhealth.dev.go-R4jYNBCwZrelCETuFAKPhw==/split_lib_slice_9_apk.apk!/lib/arm64-v8a, /system/lib64, /vendor/lib64]]] couldn’t find “libzoom_stlport.so”
at java.lang.Runtime.loadLibrary0(Runtime.java:1011)
at java.lang.System.loadLibrary(System.java:1657)
at com.zipow.cmmlib.AppContext.(AppContext.java:31)
at com.zipow.cmmlib.AppContext.initialize(AppContext.java:64)
at us.zoom.sdk.ZoomSDK.initialize(ZoomSDK.java:243)
at us.zoom.sdk.ZoomSDK.initialize(ZoomSDK.java:202)
at com.example.MainActivity.onCreate(MainActivity.java:68)
at android.app.Activity.performCreate(Activity.java:7174)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1220)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2908)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3030)
at android.app.ActivityThread.-wrap11(Unknown Source:0)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1696)
at android.os.Handler.dispatchMessage(Handler.java:105)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6938)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:327)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1374)


#4

Hi Jason,

Thanks for the info. The repo that mentioned looks like a personal project. It is not from Zoom. Thus I am sorry that I am not able to provide support on this.

On the other hand, the repo owner seems not developed the “initialize” method in the source code, you can find it here: https://github.com/wanyx2015/zoom-meeting-app/blob/master/zoomus-plugin/src/android/com/example/ZoomPlugin.java.

I think this might be the reason why you are having this error.

Currently our SDK does not support Ionic. I will let you know once our SDK supports Ionic. Thanks!


#5

From what I can see their plugin was not finished. I moved the initialize call to the Activity that is actually using the Zoom SDK and initialize is actually being called. I have a breakpoint on init and can step through to that point. The application breaks at initialize.


#6

I’m getting the exact same error. I am not using Ionic. I set my project up modeled after the example as well. This error occurs when I call initialize(context, APP_KEY, APP_SECRET, WEB_DOMAIN, zoomSDKInitializeListener) on my instance of ZoomSDK, received by calling ZoomSDK.getInstance();


#7

Add
ndk {
abiFilters “armeabi-v7a”
}
to your module’s build.gradle file in the defaultConfig to fix this.