An Android Zoom SDK crash on the latest version (v5.4.54520.1229)

Description

After upgrading to the latest android Zoom SDK (v5.4.54520.1229), and try to join a live stream, I get the following crash:

Fatal Exception: java.lang.NoClassDefFoundError: Failed resolution of: Lcom/google/crypto/tink/daead/AesSivKeyManager;
       at com.zipow.videobox.util.ZMEncryptedSharedPreferences$PrefKeyEncryptionScheme.<clinit>(ZMEncryptedSharedPreferences.java:193)
       at com.zipow.videobox.util.PreferenceUtil.getSharedPreferences(PreferenceUtil.java:355)
       at com.zipow.videobox.util.PreferenceUtil.readStringValue(PreferenceUtil.java:445)
       at org.webrtc.voiceengine.VoiceEngineCompat.selectAudioDeviceAPIType(VoiceEngineCompat.java:227)
       at org.webrtc.voiceengine.VoiceEngineCompat.isBluetoothScoSupported(VoiceEngineCompat.java:152)
       at com.zipow.videobox.VideoBoxApplication.onSDKCreated(VideoBoxApplication.java:2167)
       at com.zipow.videobox.VideoBoxApplication.initializeForSDK(VideoBoxApplication.java:2146)
       at us.zoom.sdk.ZoomSDK.initialize(ZoomSDK.java:470)
       at service.ZoomSDKService.initZoomSDK(ZoomSDKService.java:133)
       at service.ZoomSDKService.<init>(ZoomSDKService.java:102)


Caused by java.lang.ClassNotFoundException: Didn't find class "com.google.crypto.tink.daead.AesSivKeyManager" on path: DexPathList[[zip file "/data/app/com.whova.event-VQuB5APf0oDX7eF-UFmPlQ==/base.apk"],nativeLibraryDirectories=[/data/app/com.whova.event-VQuB5APf0oDX7eF-UFmPlQ==/lib/arm64, /data/app/com.whova.event-VQuB5APf0oDX7eF-UFmPlQ==/base.apk!/lib/arm64-v8a, /system/lib64]]
       at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:196)
       at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
       at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
       at com.zipow.videobox.util.ZMEncryptedSharedPreferences$PrefKeyEncryptionScheme.<clinit>(ZMEncryptedSharedPreferences.java:193)
       at com.zipow.videobox.util.PreferenceUtil.getSharedPreferences(PreferenceUtil.java:355)
       at com.zipow.videobox.util.PreferenceUtil.readStringValue(PreferenceUtil.java:445)
       at org.webrtc.voiceengine.VoiceEngineCompat.selectAudioDeviceAPIType(VoiceEngineCompat.java:227)
       at org.webrtc.voiceengine.VoiceEngineCompat.isBluetoothScoSupported(VoiceEngineCompat.java:152)
       at com.zipow.videobox.VideoBoxApplication.onSDKCreated(VideoBoxApplication.java:2167)
       at com.zipow.videobox.VideoBoxApplication.initializeForSDK(VideoBoxApplication.java:2146)
       at us.zoom.sdk.ZoomSDK.initialize(ZoomSDK.java:470)
       at service.ZoomSDKService.initZoomSDK(ZoomSDKService.java:133)
       at service.ZoomSDKService.<init>(ZoomSDKService.java:102)

Which version?

android SDK v5.4.54520.1229

To Reproduce(If applicable)

I scheduled a meeting on web client, with Require authentication to join: Sign in to Zoom to be enabled, and then join the meeting on android client via the Zoom SDK

Smartphone (please complete the following information):

  • OS: [Android 10]
1 Like

Hi @gerger, thanks for the post.

This is due to the newly added dependencies in our latest SDK release. Please add the following lines to your dependencies block in your app’s build.gradle file:

implementation "com.google.crypto.tink:tink-android:1.5.0"
implementation "androidx.security:security-crypto:1.1.0-alpha03"

Thanks!

3 Likes

Thank you! it fixes the crash

Glad to hear it helped!

As always, don’t hesitate to reach back out if you run into any other issues. :slightly_smiling_face: