# Zoom Android SDK initialization throws exception

**URL:** <https://devforum.zoom.us/t/zoom-android-sdk-initialization-throws-exception/23012>\
**Category:** Android\
**Created:** [July 2, 2020, 11:12am UTC](https://devforum.zoom.us/t/zoom-android-sdk-initialization-throws-exception/23012 "2020-07-02T11:12:39Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![sureshr](https://avatars.discourse-cdn.com/v4/letter/s/439d5e/32.png) [@sureshr](https://devforum.zoom.us/u/sureshr)\
**Post date:** [July 2, 2020, 11:12am UTC](https://devforum.zoom.us/t/zoom-android-sdk-initialization-throws-exception/23012/1 "2020-07-02T11:12:39Z")

</div>

Hi,  
I am trying to integrate Zoom Android SDK into my Qt android application which is written in Qt.

But while we initialize zoom sdk then we got the below exception,

```
	07-02 11:06:09.825 6205 6230 F zygote : java_vm_ext.cc:504] JNI DETECTED ERROR IN APPLICATION: JNI GetStaticMethodID called with pending exception java.lang.ExceptionInInitializerError:
	07-02 11:06:09.825 6205 6230 F zygote : java_vm_ext.cc:504] at com.zipow.videobox.VideoBoxApplication com.zipow.videobox.VideoBoxApplication.getInstance() (VideoBoxApplication.java:-1)
	07-02 11:06:09.825 6205 6230 F zygote : java_vm_ext.cc:504] at com.zipow.videobox.mainboard.Mainboard com.zipow.videobox.mainboard.Mainboard.getMainboard() (Mainboard.java:138)
	07-02 11:06:09.825 6205 6230 F zygote : java_vm_ext.cc:504] at boolean com.zipow.videobox.ptapp.PTApp.isInitialForMainboard() (PTApp.java:2297)
	07-02 11:06:09.825 6205 6230 F zygote : java_vm_ext.cc:504] at int com.zipow.videobox.ptapp.PTApp.getSdkAuthResult() (PTApp.java:1774)
	07-02 11:06:09.825 6205 6230 F zygote : java_vm_ext.cc:504] at boolean us.zoom.sdk.ZoomSDK.isInitialized() (ZoomSDK.java:586)
	07-02 11:06:09.825 6205 6230 F zygote : java_vm_ext.cc:504] at void us.zoom.sdk.ZoomSDK.initialize(android.content.Context, us.zoom.sdk.ZoomSDKInitializeListener, us.zoom.sdk.ZoomSDKInitParams) (ZoomSDK.java:423)
	07-02 11:06:09.825 6205 6230 F zygote : java_vm_ext.cc:504] at void com.ge.zoom.ZoomActivity.initZoom() (ZoomActivity.java:124)
	07-02 11:06:09.825 6205 6230 F zygote : java_vm_ext.cc:504] at void org.qtproject.qt5.android.QtNative.startQtApplication() (QtNative.java:-2)
	07-02 11:06:09.825 6205 6230 F zygote : java_vm_ext.cc:504] at void org.qtproject.qt5.android.QtNative$7.run() (QtNative.java:374)
	07-02 11:06:09.825 6205 6230 F zygote : java_vm_ext.cc:504] at void org.qtproject.qt5.android.QtThread$1.run() (QtThread.java:61)
	07-02 11:06:09.825 6205 6230 F zygote : java_vm_ext.cc:504] at void java.lang.Thread.run() (Thread.java:764)

```

SDK Version v4.6.21666.0429

Qt Version : Qt 5.12.5

please help us.

Thanks

---

<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:** [July 8, 2020, 6:39am UTC](https://devforum.zoom.us/t/zoom-android-sdk-initialization-throws-exception/23012/2 "2020-07-08T06:39:51Z")

</div>

Hi @sureshr,

Thanks for using Zoom SDK. Are you using code obfuscation? Could you provide the JNI crash call stack?

Thanks!

---

<div class="post-metadata">

**Author:** ![sureshr](https://avatars.discourse-cdn.com/v4/letter/s/439d5e/32.png) [@sureshr](https://devforum.zoom.us/u/sureshr)\
**Post date:** [August 4, 2020, 10:15am UTC](https://devforum.zoom.us/t/zoom-android-sdk-initialization-throws-exception/23012/3 "2020-08-04T10:15:37Z")

</div>

Thank you for your reply. i have resolved this issue. Issue with my coding where I had initialized the ZoomSDK wrongly.

---

<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 5, 2020, 6:19am UTC](https://devforum.zoom.us/t/zoom-android-sdk-initialization-throws-exception/23012/4 "2020-08-05T06:19:40Z")

</div>

Glad to hear that! Then I will go ahead and close this thread. Please feel free to create another post if any other questions. 🙂

---

<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 5, 2020, 6:19am UTC](https://devforum.zoom.us/t/zoom-android-sdk-initialization-throws-exception/23012/5 "2020-08-05T06:19:42Z")

</div>


