# Crash when trying to initialize Zoom SDK

**URL:** <https://devforum.zoom.us/t/crash-when-trying-to-initialize-zoom-sdk/5679>\
**Category:** Android\
**Created:** [August 26, 2019, 11:19am UTC](https://devforum.zoom.us/t/crash-when-trying-to-initialize-zoom-sdk/5679 "2019-08-26T11:19:14Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![as.motion.inc](https://avatars.discourse-cdn.com/v4/letter/a/ea666f/32.png) [@as.motion.inc](https://devforum.zoom.us/u/as.motion.inc)\
**Post date:** [August 26, 2019, 11:19am UTC](https://devforum.zoom.us/t/crash-when-trying-to-initialize-zoom-sdk/5679/1 "2019-08-26T11:19:14Z")

</div>

Hi, I get this error when I try to initialize the SDK:

java.lang.NoClassDefFoundError: us.zoom.androidlib.app.ZMActivity  
at com.zipow.videobox.util.AppStateMonitor.start(AppStateMonitor.java:117)  
at com.zipow.videobox.mainboard.Mainboard.startToListenActiveState(Mainboard.java:914)  
at com.zipow.videobox.mainboard.Mainboard.initialize(Mainboard.java:257)  
at com.zipow.videobox.VideoBoxApplication.initSDKMainboard(VideoBoxApplication.java:545)  
at com.zipow.videobox.VideoBoxApplication.initAppForSDK(VideoBoxApplication.java:390)  
at com.zipow.videobox.VideoBoxApplication.onSDKCreated(VideoBoxApplication.java:287)  
at com.zipow.videobox.VideoBoxApplication.initializeForSDK(VideoBoxApplication.java:200)  
at us.zoom.sdk.ZoomSDK.initialize(ZoomSDK.java:342)  
at us.zoom.sdk.ZoomSDK.initialize(ZoomSDK.java:299)  
at us.zoom.sdk.ZoomSDK.initialize(ZoomSDK.java:252)  
at com.shoeeb.learnenglish.meetingActivity.onCreate(meetingActivity.java:36)  
at android.app.Activity.performCreate(Activity.java:6444)  
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1116)  
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2585)  
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2720)  
at android.app.ActivityThread.access$900(ActivityThread.java:196)  
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1538)  
at android.os.Handler.dispatchMessage(Handler.java:111)  
at android.os.Looper.loop(Looper.java:210)  
at android.app.ActivityThread.main(ActivityThread.java:5982)  
at java.lang.reflect.Method.invoke(Native Method)  
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:852)  
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:742).

This is the app Gradle settings:  
apply plugin: ‘com.android.application’

android {  
compileSdkVersion 28  
defaultConfig {  
applicationId “com.shoeeb.learnenglish”  
minSdkVersion 17  
targetSdkVersion 28  
versionCode 1  
versionName “1.0”  
//testInstrumentationRunner “android.support.test.runner.AndroidJUnitRunner”  
multiDexEnabled true  
}  
buildTypes {  
release {  
minifyEnabled false  
proguardFiles getDefaultProguardFile(‘proguard-android.txt’), ‘proguard-rules.pro’  
}  
}  
buildToolsVersion ‘28.0.3’  
}

dependencies {  
implementation fileTree(include: [’\*.jar’], dir: ‘libs’)  
implementation ‘com.android.support:appcompat-v7:28.0.0’  
implementation ‘com.android.support.constraint:constraint-layout:1.1.3’  
implementation ‘com.android.support:design:28.0.0’  
implementation ‘com.android.support:cardview-v7:28.0.0’  
testImplementation ‘junit:junit:4.12’  
// androidTestImplementation ‘com.android.support.test:runner:1.0.2’  
//androidTestImplementation ‘com.android.support.test.espresso:espresso-core:3.0.2’  
implementation ‘com.google.firebase:firebase-database:17.0.0’  
implementation ‘com.google.firebase:firebase-auth:17.0.0’  
implementation ‘com.android.support:recyclerview-v7:28.0.0’  
implementation ‘com.github.bumptech.glide:glide:4.9.0’  
implementation project(’:commonlib’)  
implementation project(’:mobilertc’)

}  
apply plugin: ‘com.google.gms.google-services’ // Google Play services Gradle plugin

Any help would be appreciated.

---

<div class="post-metadata">

**Author:** ![carson.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/carson.zoom/32/785_2.png) [@carson.zoom](https://devforum.zoom.us/u/carson.zoom)\
**Post date:** [August 26, 2019, 6:04pm UTC](https://devforum.zoom.us/t/crash-when-trying-to-initialize-zoom-sdk/5679/2 "2019-08-26T18:04:45Z")

</div>

Hi as.motion.inc,

Thanks for using Zoom SDK. May I inquire the following information:

1. Which SDK version are you using? (Version info can be found here:[https://github.com/zoom/zoom-sdk-android/releases](https://github.com/zoom/zoom-sdk-android/releases))
2. Could you help to verify if the Zoom SDK has been correctly imported and integrated? You may follow the instruction here:[https://marketplace.zoom.us/docs/sdk/native-sdks/android/getting-started/integration](https://marketplace.zoom.us/docs/sdk/native-sdks/android/getting-started/integration)
3. Is this error happening on real device or on emulator? Which device is having this issue with? Is this error only shown on that device or on multiple devices as well?
4. Based on the device architecture that you are having issues with (for example: armabi-v7a, or x86), can you add the following `abiFilter` to the `defaultConfig` section in your gradle file and see if that helps:

```auto
ndk {
            abiFilters "armeabi-v7a", "x86"
        }

```

1. If adding the abiFilter does not help, can you provide the full SDK log (Steps to enable and retrieve SDK log:[https://marketplace.zoom.us/docs/sdk/native-sdks/android/mastering-zoom-sdk/sdk-initialization#2-log-feature](https://marketplace.zoom.us/docs/sdk/native-sdks/android/mastering-zoom-sdk/sdk-initialization#2-log-feature)), and can you provide the steps to reproduce this issue?

Hope this helps. Thanks!

---

<div class="post-metadata">

**Author:** ![as.motion.inc](https://avatars.discourse-cdn.com/v4/letter/a/ea666f/32.png) [@as.motion.inc](https://devforum.zoom.us/u/as.motion.inc)\
**Post date:** [August 26, 2019, 7:21pm UTC](https://devforum.zoom.us/t/crash-when-trying-to-initialize-zoom-sdk/5679/3 "2019-08-26T19:21:48Z")

</div>

Hi Carson\_Chen,  
Thank you for your reply.

1. This is the version that I use:  
4.4.55130.0712

2. I followed the instructions in this link:  
[https://marketplace.zoom.us/docs/sdk/native-sdks/android/getting-started/integration](https://marketplace.zoom.us/docs/sdk/native-sdks/android/getting-started/integration).

3. I get this error on my real devices.

4. I’ve added the abiFilter to the defaultConfig but I get the same error.

5. This is the log file:  
[https://drive.google.com/open?id=1FMT1ltO7uQWhKuQqO3erTehWnoZc1xBZ](https://drive.google.com/open?id=1FMT1ltO7uQWhKuQqO3erTehWnoZc1xBZ)

---

<div class="post-metadata">

**Author:** ![carson.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/carson.zoom/32/785_2.png) [@carson.zoom](https://devforum.zoom.us/u/carson.zoom)\
**Post date:** [August 26, 2019, 9:51pm UTC](https://devforum.zoom.us/t/crash-when-trying-to-initialize-zoom-sdk/5679/4 "2019-08-26T21:51:23Z")

</div>

Hi,

Thanks for the prompt reply. It seems like the log file has been encrypted, could you provide some guidance on how to decode this file? And could you also provide the device info that you are getting error with(the CPU arch, Android version, etc.)?

Thanks!

---

<div class="post-metadata">

**Author:** ![as.motion.inc](https://avatars.discourse-cdn.com/v4/letter/a/ea666f/32.png) [@as.motion.inc](https://devforum.zoom.us/u/as.motion.inc)\
**Post date:** [August 26, 2019, 11:07pm UTC](https://devforum.zoom.us/t/crash-when-trying-to-initialize-zoom-sdk/5679/5 "2019-08-26T23:07:29Z")

</div>

I don’t know how to decode this log file.  
This is my device info:  
CPU Arch: armv8l  
Android version: 6.0

---

<div class="post-metadata">

**Author:** ![carson.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/carson.zoom/32/785_2.png) [@carson.zoom](https://devforum.zoom.us/u/carson.zoom)\
**Post date:** [August 27, 2019, 5:05pm UTC](https://devforum.zoom.us/t/crash-when-trying-to-initialize-zoom-sdk/5679/6 "2019-08-27T17:05:20Z")

</div>

Hi,

Thanks for the information. The CPU arch you mentioned is not in the list of the arch that we are supporting at this point. That’s the reason why you are facing this crash.

Our Android SDK supports the following CPU arch: **armeabi-v7a, armeabi, arm64-v8a, x86, x86\_64**

I will pass the support for armv8l as a feature request to our engineering team and we will investigate the possibility of supporting it in the future.

Hope this helps. Thanks!

---

<div class="post-metadata">

**Author:** ![DeveloperBot](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/developerbot/32/12632_2.png) [@DeveloperBot](https://devforum.zoom.us/u/DeveloperBot)\
**Post date:** [August 21, 2020, 6:40pm UTC](https://devforum.zoom.us/t/crash-when-trying-to-initialize-zoom-sdk/5679/7 "2020-08-21T18:40:23Z")

</div>


