# Android InstantSDK (1.0.2) is not working (crashes) on Nexus 5

**URL:** <https://devforum.zoom.us/t/android-instantsdk-1-0-2-is-not-working-crashes-on-nexus-5/44647>\
**Category:** Video SDK\
**Created:** [March 2, 2021, 1:31pm UTC](https://devforum.zoom.us/t/android-instantsdk-1-0-2-is-not-working-crashes-on-nexus-5/44647 "2021-03-02T13:31:13Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![alam.ashraful](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/alam.ashraful/32/23259_2.png) [@alam.ashraful](https://devforum.zoom.us/u/alam.ashraful)\
**Post date:** [March 2, 2021, 1:31pm UTC](https://devforum.zoom.us/t/android-instantsdk-1-0-2-is-not-working-crashes-on-nexus-5/44647/1 "2021-03-02T13:31:13Z")

</div>

**Description**  
App crashes on Nexus 5 whenever i try to initialize the SDK. I’d greatly appreciate any assistance in resolving this issue.

**Which version?**  
zoom-instant-sdk-android-1.0.2

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

\*\*Demo App \*\*

1. Install the demo app on Nexus 5
2. App crashes

\*\*Integrated app \*\*

1. ZoomInstantSDK.getInstance().initialize(this.getApplicationContext(), params);
2. App crashes

**DEVICE**  
Nexus 5

**Android Version**  
6.0.1

**Exception arises from below code in Demo App**

protected void initSDK() {  
ZoomInstantSDKInitParams params = new ZoomInstantSDKInitParams();  
params.domain = Constants.WEB\_DOMAIN;  
params.enableLog = true;  
params.videoRawDataMemoryMode = ZoomInstantSDKRawDataMemoryMode.ZoomInstantSDKRawDataMemoryModeHeap;  
params.audioRawDataMemoryMode = ZoomInstantSDKRawDataMemoryMode.ZoomInstantSDKRawDataMemoryModeHeap;  
params.shareRawDataMemoryMode = ZoomInstantSDKRawDataMemoryMode.ZoomInstantSDKRawDataMemoryModeHeap;

```
int ret = ZoomInstantSDK.getInstance().initialize(this.getApplicationContext(), params);
if (ret != ZoomInstantSDKErrors.Errors_Success) {
    Toast.makeText(this, ErrorMsgUtil.getMsgByErrorCode(ret), Toast.LENGTH_LONG).show();
}else {
    ((TextView) findViewById(R.id.text_version)).setText(getString(R.string.launch_setting_version, ZoomInstantSDK.getInstance().getSDKVersion()));
}

```

}

\*\*Logcat \*\*

E/AndroidRuntime: FATAL EXCEPTION: preLoadCameraCapabilities  
Process: us.zoom.InstantSDKPlaygroud, PID: 8380  
java.lang.RuntimeException: Can’t create handler inside thread that has not called Looper.prepare()  
at android.os.Handler.(Handler.java:200)  
at android.os.Handler.(Handler.java:114)  
at us.zoom.internal.audio.AudioSessionMgr.(AudioSessionMgr.java:34)  
at us.zoom.internal.RTCConfSessionHelper.(RTCConfSessionHelper.java:17)  
at us.zoom.internal.RTCConference.(RTCConference.java:69)  
at us.zoom.internal.RTCConference.initRTCConference(RTCConference.java:101)  
at com.zipow.videobox.util.ZMPolicyDataHelper.a(ZMPolicyDataHelper.java:3083)  
at com.zipow.nydus.camera.ZMCameraMgr.loadCapabilitiesFromConfig(ZMCameraMgr.java:210)  
at com.zipow.nydus.camera.ZMCameraMgr.preLoadCameraCapabilities(ZMCameraMgr.java:136)  
at us.zoom.internal.SDKApplication$2.run(SDKApplication.java:152)  
W/CameraBase: An error occurred while connecting to camera: 1  
W/CameraBase: An error occurred while connecting to camera: 0

**Screenshot**

 ![nexus-zoom-issue](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/8/d/8d291d2a7431f35ba51cf9634280765ae7cdef8d.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:** [March 2, 2021, 5:18pm UTC](https://devforum.zoom.us/t/android-instantsdk-1-0-2-is-not-working-crashes-on-nexus-5/44647/2 "2021-03-02T17:18:19Z")

</div>

Hi @alam.ashraful, thanks for the post.

Sorry to hear you’re experiencing another crash. Can you please confirm whether or not this is being called from the main thread in your app? When you observe this behavior in the demo app, what changes have you made before running the app?

Thanks!

---

<div class="post-metadata">

**Author:** ![alam.ashraful](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/alam.ashraful/32/23259_2.png) [@alam.ashraful](https://devforum.zoom.us/u/alam.ashraful)\
**Post date:** [March 3, 2021, 5:38am UTC](https://devforum.zoom.us/t/android-instantsdk-1-0-2-is-not-working-crashes-on-nexus-5/44647/3 "2021-03-03T05:38:33Z")

</div>

Hi @jon.zoom , The exception occurs in our main thread. I changed nothing in the demo app before running. The previous(1.0.1) sdk(demo app) runs fine in Nexus 5 but the newer one crashes on startup.

---

<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 3, 2021, 5:24pm UTC](https://devforum.zoom.us/t/android-instantsdk-1-0-2-is-not-working-crashes-on-nexus-5/44647/4 "2021-03-03T17:24:33Z")

</div>

Hi @alam.ashraful,

Thanks for confirming that. We will need to continue investigating this crash. Can you also please send the SDK logs over to [developersupport@zoom.us](mailto:developersupport@zoom.us)?

Thanks!

---

<div class="post-metadata">

**Author:** ![alam.ashraful](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/alam.ashraful/32/23259_2.png) [@alam.ashraful](https://devforum.zoom.us/u/alam.ashraful)\
**Post date:** [March 4, 2021, 7:00am UTC](https://devforum.zoom.us/t/android-instantsdk-1-0-2-is-not-working-crashes-on-nexus-5/44647/5 "2021-03-04T07:00:43Z")

</div>

Hi @jon.zoom , Thanks for your response.  
I have sent an email([developersupport@zoom.us](mailto:developersupport@zoom.us)) with full logs.

---

<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 4, 2021, 7:12pm UTC](https://devforum.zoom.us/t/android-instantsdk-1-0-2-is-not-working-crashes-on-nexus-5/44647/6 "2021-03-04T19:12:31Z")

</div>

Hi @alam.ashraful,

Confirming that we have received your email. We will investigate this crash and let you know as soon as we have any updates.

Thanks!

---

<div class="post-metadata">

**Author:** ![apksclub](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/apksclub/32/24730_2.png) [@apksclub](https://devforum.zoom.us/u/apksclub)\
**Post date:** [March 18, 2021, 4:03pm UTC](https://devforum.zoom.us/t/android-instantsdk-1-0-2-is-not-working-crashes-on-nexus-5/44647/7 "2021-03-18T16:03:03Z")

</div>

Can we use zoom in to a website LMS for taking online classes and also will it work while using any [VPN](https://apksclub.com/express-vpn-mod-apk/)? Thanks in advance for your help.

---

<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 18, 2021, 5:20pm UTC](https://devforum.zoom.us/t/android-instantsdk-1-0-2-is-not-working-crashes-on-nexus-5/44647/8 "2021-03-18T17:20:48Z")

</div>

Hi @apksclub, thanks for using Zoom.

Your question appears to be related to the Zoom client. This forum is meant to assist developers who are integrating our SDKs into their own applications. For help with the Zoom client, please visit our [general support page](https://support.zoom.us/hc/en-us). 🙂

Thanks!

---

<div class="post-metadata">

**Author:** ![AndroidDev](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/androiddev/32/25320_2.png) [@AndroidDev](https://devforum.zoom.us/u/AndroidDev)\
**Post date:** [March 31, 2021, 2:45pm UTC](https://devforum.zoom.us/t/android-instantsdk-1-0-2-is-not-working-crashes-on-nexus-5/44647/9 "2021-03-31T14:45:17Z")

</div>

I had the same issue on a Pixel 2 XL running Android 11. The previous SDK version worked fine but the problem showed up after upgrading the SDK to 1.0.2. What I discovered was that the app needed permissions to file access during the Welcome screen startup. I then deleted the app’s cache and manually set the permissions under the app settings. If you ever delete the cache, the permissions are removed, so they need to be manually set. Simply running the app from Android Studio does not fix this problem.

---

<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:** [May 1, 2021, 12:45am UTC](https://devforum.zoom.us/t/android-instantsdk-1-0-2-is-not-working-crashes-on-nexus-5/44647/10 "2021-05-01T00:45:20Z")

</div>

Closed on May 1, 2021, 12:45am UTC

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