Hi,
I’m trying to get the Zoom SDK Android ‘sample’ running using a JWT token, which was created on the ‘App credentials’ page for the app.
The meeting version being used is: 5.9.1.3662
The sample runs InitAuthSDKActivity, then the InitAuthSDKHelper calls initSDK, which results in the
onZoomSDKInitializeResult callback showing a toast message:
“Failed to initialize Zoom SDK. Error: 1, internalErrorCode=0”
It’s really not helpful at all that there is no human readable error message to give me some clue as to what is wrong, as there usually is in most other SDKs.
Despite ‘enableLog’ being set to true in ‘ZoomSDKInitParams’, there is no useful information in the Logcat output
Steps to reproduce
- Create JWT app in marketplace.
- Copy generated JWT token from “App credentials” page in App Marketplace.
- Download zoom-sdk-android-5.9.1.3662.zip, extract
- Open zoom-sdk-android-5.9.1.3662\mobilertc-android-studio\sample as a project in Android Studio
- Paste JWT token into AuthConstants.java for the SDK_JWTTOKEN constant
- Build, debug app
- Note Toast error message on failed SDK initialization.
Android device used: Samsung Galaxy S10 (SM-G973W)
Android Studio Version: Arctic Fox 2020.3.1 Patch 4
Any assistance would be greatly appreciated, thanks.
Verbose Logcat output from ZoomSDK.initialize
2022-01-19 09:40:10.221 16725-16725/us.zoom.sdkexample I/ZoomSDK: initialize context is us.zoom.sdksample.ui.InitAuthSDKActivity@8f5d2d4
2022-01-19 09:40:10.389 16725-16725/us.zoom.sdkexample I/ZmUtils: isValidSignature, 308202e4308201cc020101300d06092a864886f70d010105050030373116301406035504030c0d416e64726f69642044656275673110300e060355040a0c07416e64726f6964310b30090603550406130255533020170d3231313231363139343935335a180f32303531313230393139343935335a30373116301406035504030c0d416e64726f69642044656275673110300e060355040a0c07416e64726f6964310b300906035504061302555330820122300d06092a864886f70d01010105000382010f003082010a0282010100b8869567b4e2c93740833b7cd94777998d545239933d0dcb184b5edf3937f04b1b1d3f6f373af97b80a282fc946892000b2349731df63057eed3d048c76599403e67aaaa6b027fc27c70d320e157d519e5372cea26f47ea4c8fe0e774b60a153fc615515d9479381a1e24ed97bc5beebb1c3fe1a356c921e0de7a122475032c757f5220185473226a9fcf2db3edd5cc70db9d941bf9db1376fb1da9d7b530a17fbf39efbcc9591c1c8aa011832ecb225590f22d1edf44a1206bd1cbadaf7e4496bd5bae419f47898b60df67cae4077b7b3bbb16c472f73ecb4fa25dd11be2ad9da1d9f3bcab0feb31c42abb5f78057820f6be66943f3efae2764a16250029a410203010001300d06092a864886f70d010105050003820101000a7ef8b92ba5d89f2641218fb3b22ad3e37e03c81e283bccb072a713adb9e62bb223d24c3476414cf3ce2f1910d2046e10e54834ce2a371c930ba91cae8a2e0c083f12fabfac561b814e3beb339c9a31a503ded90ea350cdd7976e76b8b9dad001cc20e514c17d3f92bf5eeecf192ed70969de38c18f29d7d40484bb8f86155309427e0ec3354441fb41d3fead0d414ff498a30f4eb9240ff56e6a8ca692df125411ac9770d1ea4b2f8f2ca7d7ee5104a18bc2dd470b2a7f22486ef12738fb72b9e4a043f332e2d67a88d25e46d7243cb3e1fa7c6eb7f2829a8f42de98c7fdd9c7b9786fa66abb1d8cc0d41131cfd63196928d78454e4a8bb8ed2dc21a95e052
2022-01-19 09:40:10.776 16725-16725/us.zoom.sdkexample D/BluetoothHeadset: BTStateChangeCB is registed by 16725 @ us.zoom.sdkexample
2022-01-19 09:40:11.520 16725-16725/us.zoom.sdkexample I/EngineFactory: Provider GmsCore_OpenSSL not available
2022-01-19 09:40:11.568 16725-16725/us.zoom.sdkexample I/TetheringManager: registerTetheringEventCallback:us.zoom.sdkexample
2022-01-19 09:40:11.570 16725-16725/us.zoom.sdkexample D/ConnectivityManager: ConnectivityManager() mContext=androidx.multidex.MultiDexApplication@478a86c getOpPackageName()=us.zoom.sdkexample getBasePackageName()=us.zoom.sdkexample getPackageName()=us.zoom.sdkexample
2022-01-19 09:40:11.624 16725-16725/us.zoom.sdkexample D/[BreakpadHandler::BreakpadHandler]: initialized BreakpadHandler
2022-01-19 09:40:12.020 16725-16945/us.zoom.sdkexample W/zoom.sdkexampl: Long monitor contention with owner main (16725) at com.zipow.videobox.VideoBoxApplication com.zipow.videobox.VideoBoxApplication.getNonNullInstance()(VideoBoxApplication.java:1) waiters=0 in com.zipow.videobox.VideoBoxApplication com.zipow.videobox.VideoBoxApplication.getInstance() for 438ms
2022-01-19 09:40:12.082 16725-16725/us.zoom.sdkexample I/InitAuthSDKHelper: onZoomSDKInitializeResult, errorCode=1, internalErrorCode=0
2022-01-19 09:40:12.083 16725-16725/us.zoom.sdkexample I/ZoomSDKExample: onZoomSDKInitializeResult, errorCode=1, internalErrorCode=0