# Error when initializing the SDK

**URL:** <https://devforum.zoom.us/t/error-when-initializing-the-sdk/51247>\
**Category:** Android\
**Created:** [May 28, 2021, 6:57am UTC](https://devforum.zoom.us/t/error-when-initializing-the-sdk/51247 "2021-05-28T06:57:38Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![zkzkzkzkkain](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/zkzkzkzkkain/32/21408_2.png) [@zkzkzkzkkain](https://devforum.zoom.us/u/zkzkzkzkkain)\
**Post date:** [May 28, 2021, 6:57am UTC](https://devforum.zoom.us/t/error-when-initializing-the-sdk/51247/1 "2021-05-28T06:57:38Z")

</div>

hello, I’m trying to use the Video SDK on Windev Mobile from PC Soft. but I get an error when the apk is running, I initialize the SDK and call the initialize:

ZoomInstantSDKInitParams params = new ZoomInstantSDKInitParams ();  
params.domain = “[https://zoom.us](https://zoom.us)”;  
params.enableLog = true;  
params.videoRawDataMemoryMode = ZoomInstantSDKRawDataMemoryMode.ZoomInstantSDKRawDataMemoryModeHeap;  
params.audioRawDataMemoryMode = ZoomInstantSDKRawDataMemoryMode.ZoomInstantSDKRawDataMemoryModeHeap;  
params.shareRawDataMemoryMode = ZoomInstantSDKRawDataMemoryMode.ZoomInstantSDKRawDataMemoryModeHeap;

int ret = ZoomInstantSDK.getInstance (). initialize (getApplicationContext (), params);  
if (ret! = ZoomInstantSDKErrors.Errors\_Success) {  
//  
} else {  
//

 ![WhatsApp Image 2021-05-27 at 14.46.19](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/5/6/56255ed79b92750c16fa171cadc8d9390adbb1d6.jpeg)

}

---

<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:** [May 28, 2021, 5:44pm UTC](https://devforum.zoom.us/t/error-when-initializing-the-sdk/51247/2 "2021-05-28T17:44:06Z")

</div>

Hi @zkzkzkzkkain, thanks for using our SDK.

Can you please provide the full stack trace in text so that we can better assist?

Thanks!

---

<div class="post-metadata">

**Author:** ![zkzkzkzkkain](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/zkzkzkzkkain/32/21408_2.png) [@zkzkzkzkkain](https://devforum.zoom.us/u/zkzkzkzkkain)\
**Post date:** [June 2, 2021, 2:14am UTC](https://devforum.zoom.us/t/error-when-initializing-the-sdk/51247/3 "2021-06-02T02:14:56Z")

</div>

hi @jon.zoom, thanks for responding. I downloaded the sample video SDK, and imported mobilertc.arr into my project. I created a sample button to run the code to initialize and call the SDK, but I’m getting an error…

thanks

---

<div class="post-metadata">

**Author:** ![zkzkzkzkkain](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/zkzkzkzkkain/32/21408_2.png) [@zkzkzkzkkain](https://devforum.zoom.us/u/zkzkzkzkkain)\
**Post date:** [June 2, 2021, 2:16am UTC](https://devforum.zoom.us/t/error-when-initializing-the-sdk/51247/4 "2021-06-02T02:16:57Z")

</div>

my example is using java code to initialize sdk

 ![Screenshot 2021-06-02 085251](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/e/5/e53e9fa4b4ef90684c81538f1720435720ef55e2.png)

---

<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:** [June 2, 2021, 5:45pm UTC](https://devforum.zoom.us/t/error-when-initializing-the-sdk/51247/5 "2021-06-02T17:45:32Z")

</div>

Hi @zkzkzkzkkain,

I’m not seeing anything wrong with the code in your screenshot. Can you please provide the full stack trace from logcat? Without the stack trace, we cannot look into this further.

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:** [July 3, 2021, 3:46am UTC](https://devforum.zoom.us/t/error-when-initializing-the-sdk/51247/6 "2021-07-03T03:46:14Z")

</div>

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