# Doesn't work Android sample as expected

**URL:** <https://devforum.zoom.us/t/doesnt-work-android-sample-as-expected/11084>\
**Category:** Android\
**Created:** [April 4, 2020, 6:50am UTC](https://devforum.zoom.us/t/doesnt-work-android-sample-as-expected/11084 "2020-04-04T06:50:28Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![shunpei42ba](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/shunpei42ba/32/4984_2.png) [@shunpei42ba](https://devforum.zoom.us/u/shunpei42ba)\
**Post date:** [April 4, 2020, 6:50am UTC](https://devforum.zoom.us/t/doesnt-work-android-sample-as-expected/11084/1 "2020-04-04T06:50:28Z")

</div>

**Description**  
I followed the process of **getting started** in Android, but the buttons such **SSO Login User** and **API User** doesn’t appear on my local emulator.

 ![Screen Shot 2020-04-04 at 14.42.29](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/6/63060177cd1f02a35f89ac4f228ebbd1a2fdc6da.jpeg)

**Which version?**  
Emulator type  
Pixel 3 API R

**To Reproduce(If applicable)**  
All I did is the below.

1. Set up SDK\_KEY and SDK\_SECRET in Constants.java and AuthConstants.java
2. Set up APP\_KEY and API\_SECRET in APIUserConstants.java
3. Set up SDK\_JWTTOKEN in Constants.java and AuthConstants.java
4. Launch my zoom client with Mac App

---

<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:** [April 7, 2020, 2:28am UTC](https://devforum.zoom.us/t/doesnt-work-android-sample-as-expected/11084/2 "2020-04-07T02:28:51Z")

</div>

Hi [shunpei42ba](https://devforum.zoom.us/u/shunpei42ba),

Thanks for using Zoom SDK. Are you getting any error? Based on the description, it sounds like the SDK initialization was not successful.

Please have a try with the following:

1. Set the SDK\_Key and SDK\_Secret
2. In `InitAuthSDKHelper`, comment out the `initParams.jwtToken`, and add

```auto
initParams.appKey = SDK_KEY;
initParams.appSecret = SDK_SECRET;

```

Build and run the app on emulator.

The JWT token is optional if you would like to have a more secure way for SDK authentication. And the API key & secret is needed if and only if you would like to use the token retrieve from Zoom API to start a meeting.

I was able to run our demo on Android emulator:

 ![Screen Shot 2020-04-06 at 7.12.56 PM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/a/a7dd82b15aef18aac88ac04ceb2f07a31d740338.jpeg)

Hope this helps. Thanks!

---

<div class="post-metadata">

**Author:** ![sarwar.aqsa1](https://avatars.discourse-cdn.com/v4/letter/s/9d8465/32.png) [@sarwar.aqsa1](https://devforum.zoom.us/u/sarwar.aqsa1)\
**Post date:** [April 7, 2020, 7:02am UTC](https://devforum.zoom.us/t/doesnt-work-android-sample-as-expected/11084/3 "2020-04-07T07:02:44Z")

</div>

Hi Carson,

I’ve followed all the steps still getting  
onZoomSDKInitializeResult, errorCode=2, internalErrorCode=3023.  
Comment out JWT token and replaced sdk keys and secret.

Please guide what to do next to resolve this issue?

---

<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:** [April 8, 2020, 5:17am UTC](https://devforum.zoom.us/t/doesnt-work-android-sample-as-expected/11084/4 "2020-04-08T05:17:14Z")

</div>

Hi [sarwar.aqsa1](https://devforum.zoom.us/u/sarwar.aqsa1),

Thanks for using Zoom SDK. Did you just generate the SDK key&secret recently? Could you try to deactivate your SDK app on Marketplace and re-activate it again to see if it helps?

Thanks!

---

<div class="post-metadata">

**Author:** ![sarwar.aqsa1](https://avatars.discourse-cdn.com/v4/letter/s/9d8465/32.png) [@sarwar.aqsa1](https://devforum.zoom.us/u/sarwar.aqsa1)\
**Post date:** [April 8, 2020, 6:03am UTC](https://devforum.zoom.us/t/doesnt-work-android-sample-as-expected/11084/5 "2020-04-08T06:03:10Z")

</div>

Hi Carson,

Yes I have created recently.  
It works by deactivated and re-activated.

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:** [April 8, 2020, 6:31am UTC](https://devforum.zoom.us/t/doesnt-work-android-sample-as-expected/11084/6 "2020-04-08T06:31:22Z")

</div>

Glad to hear the problem has resolved. Happy Zooming! 🙂

---

<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, 8:20pm UTC](https://devforum.zoom.us/t/doesnt-work-android-sample-as-expected/11084/7 "2020-08-21T20:20:01Z")

</div>

Closed on August 21, 2020, 8:20pm UTC


