# Error while initialize SDK

**URL:** <https://devforum.zoom.us/t/error-while-initialize-sdk/45106>\
**Category:** Android\
**Created:** [March 8, 2021, 6:19am UTC](https://devforum.zoom.us/t/error-while-initialize-sdk/45106 "2021-03-08T06:19:13Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![zhero1100](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/zhero1100/32/23042_2.png) [@zhero1100](https://devforum.zoom.us/u/zhero1100)\
**Post date:** [March 8, 2021, 6:19am UTC](https://devforum.zoom.us/t/error-while-initialize-sdk/45106/1 "2021-03-08T06:19:13Z")

</div>

**Description**  
app crash Unable to start activity when start this page InitAuthSDKActivity

**Error**  
java.lang.RuntimeException: Unable to start activity ComponentInfo{[in.drona.edu/in.drona.edu.activity.zoom.ui.InitAuthSDKActivity](http://in.drona.edu/in.drona.edu.activity.zoom.ui.InitAuthSDKActivity)}: java.lang.ClassNotFoundException: us.zoom.net.AndroidNetworkLibrary

at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3308)

at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3457)

at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:83)

at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)

at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)

at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2044)

at android.os.Handler.dispatchMessage(Handler.java:107)

at android.os.Looper.loop(Looper.java:223)

at android.app.ActivityThread.main(ActivityThread.java:7562)

at java.lang.reflect.Method.invoke(Native Method)

at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:539)

at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:950)

Caused by: java.lang.ClassNotFoundException: us.zoom.net.AndroidNetworkLibrary

at java.lang.Runtime.nativeLoad(Native Method)

at java.lang.Runtime.nativeLoad(Runtime.java:1115)

at java.lang.Runtime.loadLibrary0(Runtime.java:1069)

at java.lang.Runtime.loadLibrary0(Runtime.java:1007)

at java.lang.System.loadLibrary(System.java:1667)

at com.zipow.videobox.mainboard.Mainboard.r(SourceFile:44)

at com.zipow.videobox.mainboard.Mainboard.initialize(SourceFile:6)

at com.zipow.videobox.VideoBoxApplication.initSDKMainboard(SourceFile:7)

at com.zipow.videobox.VideoBoxApplication.A(SourceFile:6)

at com.zipow.videobox.VideoBoxApplication.P(SourceFile:10)

at com.zipow.videobox.VideoBoxApplication.initializeForSDK(SourceFile:4)

at us.zoom.sdk.ZoomSDK.initialize(SourceFile:42)

at in.drona.edu.activity.zoom.initsdk.InitAuthSDKHelper.initSDK(SourceFile:10)

at in.drona.edu.activity.zoom.ui.InitAuthSDKActivity.onCreate(SourceFile:20)

at android.app.Activity.performCreate(Activity.java:7893)

at android.app.Activity.performCreate(Activity.java:7880)

at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1307)

at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3283)

**Which Client Web SDK version?**  
Knowing the version can help us to identify your issue faster. [e.g. 1.9.0]

**To Reproduce(If applicable)**  
Steps to reproduce the behavior:

1. Go to ‘…’
2. Click on ‘…’
3. Scroll down to ‘…’
4. See error

**Screenshots**  
If applicable, add screenshots to help explain your problem.

**Device (please complete the following information):**

- Device: [e.g. iPhone 12]
- OS: [e.g. iOS 14]
- Browser: [e.g. Chrome]
- Browser Version [e.g. 88.0.4324.150 (Official Build) (x86\_64)]

**Additional context**  
Add any other context about the problem here.

---

<div class="post-metadata">

**Author:** ![agastyainfowebhost](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/agastyainfowebhost/32/18433_2.png) [@agastyainfowebhost](https://devforum.zoom.us/u/agastyainfowebhost)\
**Post date:** [March 8, 2021, 6:25am UTC](https://devforum.zoom.us/t/error-while-initialize-sdk/45106/2 "2021-03-08T06:25:29Z")

</div>

Hi zhero1100  
Thanks for the post. The error code indicates that the JWT token is incorrect. What is the web domain you are using?

To ensure your SDK key & secret are working, besides filling up the SDK key & secret in AuthConstants.java, please change the following in InitAuthSDKHelper.java

```auto
            ZoomSDKInitParams initParams = new ZoomSDKInitParams();
// initParams.jwtToken = SDK_JWTTOKEN;
            initParams.appKey = SDK_KEY;
            initParams.appSecret = SDK_SECRET;

```

If it works, then it means the key & secret are working, then you may refer to the instruction here: [https://marketplace.zoom.us/docs/sdk/native-sdks/android/mastering-zoom-sdk/sdk-initialization](https://marketplace.zoom.us/docs/sdk/native-sdks/android/mastering-zoom-sdk/sdk-initialization) to complete the JWT token.

You can use either key & secret or JWT token for SDK initialization.

Hope this helps. Thanks!

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [March 8, 2021, 5:53pm UTC](https://devforum.zoom.us/t/error-while-initialize-sdk/45106/3 "2021-03-08T17:53:12Z")

</div>

Hi @zhero1100, thanks for using our SDK (and a big thank you to @agastyainfowebhost for helping! 💙 )

Can you please confirm that you are importing both of the AARs (mobilertc and commonlib) included in the SDK package as well as the required dependencies?

Thanks!

---

<div class="post-metadata">

**Author:** ![agastyainfowebhost](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/agastyainfowebhost/32/18433_2.png) [@agastyainfowebhost](https://devforum.zoom.us/u/agastyainfowebhost)\
**Post date:** [March 9, 2021, 7:29am UTC](https://devforum.zoom.us/t/error-while-initialize-sdk/45106/4 "2021-03-09T07:29:39Z")

</div>

Sir Issue fixed its working fine and we did mistake in proguard after adding proguard code its working fine

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [March 9, 2021, 5:56pm UTC](https://devforum.zoom.us/t/error-while-initialize-sdk/45106/5 "2021-03-09T17:56:52Z")

</div>

Hi @agastyainfowebhost,

Glad to hear it’s working! Please don’t hesitate to reach out in a new thread if you require any additional help.

Thanks!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [April 9, 2021, 3:56am UTC](https://devforum.zoom.us/t/error-while-initialize-sdk/45106/6 "2021-04-09T03:56:58Z")

</div>

Closed on April 9, 2021, 3:56am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
