# java.lang.UnsatisfiedLinkError has been throwed When initialize ZoomSDK

**URL:** <https://devforum.zoom.us/t/java-lang-unsatisfiedlinkerror-has-been-throwed-when-initialize-zoomsdk/430>\
**Category:** Android\
**Created:** [October 31, 2017, 5:56am UTC](https://devforum.zoom.us/t/java-lang-unsatisfiedlinkerror-has-been-throwed-when-initialize-zoomsdk/430 "2017-10-31T05:56:02Z")\
**Posts on this page:** 20\
**Page:** 2

<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 18, 2019, 8:56pm UTC](https://devforum.zoom.us/t/java-lang-unsatisfiedlinkerror-has-been-throwed-when-initialize-zoomsdk/430/21 "2019-07-18T20:56:26Z")

</div>

Hi Arun,

Thanks for the reply. I will consult the engineers and get back to you.

Thanks!

---

<div class="post-metadata">

**Author:** ![Fred\_Luo](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/fred_luo/32/62_2.png) [@Fred\_Luo](https://devforum.zoom.us/u/Fred_Luo)\
**Post date:** [July 19, 2019, 1:43am UTC](https://devforum.zoom.us/t/java-lang-unsatisfiedlinkerror-has-been-throwed-when-initialize-zoomsdk/430/22 "2019-07-19T01:43:49Z")

</div>

Hi Arun

If you use customize UI .  
You can refer to example2 to implement the task.

step 1: add a config.xml on values  
step 2: set the meeting activity class name with key zm\_config\_conf\_activity: us.zoom.sdkexample2.MyMeetingActivity  
step 3: override onBackPressed method in MyMeetingActivity

---

<div class="post-metadata">

**Author:** ![goyal.arun16](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/goyal.arun16/32/957_2.png) [@goyal.arun16](https://devforum.zoom.us/u/goyal.arun16)\
**Post date:** [July 19, 2019, 5:35am UTC](https://devforum.zoom.us/t/java-lang-unsatisfiedlinkerror-has-been-throwed-when-initialize-zoomsdk/430/23 "2019-07-19T05:35:59Z")

</div>

> [@Fred\_Luo](#):
>
> You can refer to example2 to implement the task.

Hi Fred,  
thanks for reply. I have not customised any UI part but I’ll try with your solution and get back to you. FYI I am using webinar if there anything I need to change for that

---

<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 19, 2019, 10:46pm UTC](https://devforum.zoom.us/t/java-lang-unsatisfiedlinkerror-has-been-throwed-when-initialize-zoomsdk/430/24 "2019-07-19T22:46:34Z")

</div>

Hi Arun,

Just tested the method Fred was mentioning with our example2 app and joining a webinar. And it is working. Here is the method that I used in `MyMeetingActivity`:

```auto
	@Override
	public void onBackPressed() {
		InMeetingService im = ZoomSDK.getInstance().getInMeetingService();
		if (im != null) {
			im.leaveCurrentMeeting(true);
		}
	}

```

Hope this helps. Thanks!

---

<div class="post-metadata">

**Author:** ![goyal.arun16](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/goyal.arun16/32/957_2.png) [@goyal.arun16](https://devforum.zoom.us/u/goyal.arun16)\
**Post date:** [July 23, 2019, 5:40am UTC](https://devforum.zoom.us/t/java-lang-unsatisfiedlinkerror-has-been-throwed-when-initialize-zoomsdk/430/25 "2019-07-23T05:40:17Z")

</div>

Thanks Carson,

I am not using MyMeetingActivity , I am using [https://github.com/zoom/zoom-sdk-android/blob/master/mobilertc-android-studio/example2/src/main/java/us/zoom/sdkexample2/MainActivity.java](https://github.com/zoom/zoom-sdk-android/blob/master/mobilertc-android-studio/example2/src/main/java/us/zoom/sdkexample2/MainActivity.java) and back press handling not working.

Is it compulsory to use MyMeetingActivity for webinar or it is OK to use MainActivity.java. If it is OK help me with back press handling. For me code control not coming to back press. if is there any kind of config I need to change do let me know

---

<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 24, 2019, 1:38am UTC](https://devforum.zoom.us/t/java-lang-unsatisfiedlinkerror-has-been-throwed-when-initialize-zoomsdk/430/27 "2019-07-24T01:38:38Z")

</div>

Hi Arun,

Thanks for the reply. Neither `MyMeetingActivity` nor `MainActivity` are SDK classes. As long as you `extends MeetingActivity`, and follow Fred’s 3-steps:

1. Add a `config.xml` file in values
2. Set the meeting activity class name with key “zm\_config\_conf\_activity”:us.zoom.sdkexample2.MainActivity
3. Override the `onBackPressed` method

If you are still having issues, could you share the following information:

1. The settings in `config.xml`
2. The Activity class that you extends the `MeetingActivity` and overrides the `onBackButtonPressed`
3. The `onBackButtonPressed` method

Thanks!

---

<div class="post-metadata">

**Author:** ![goyal.arun16](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/goyal.arun16/32/957_2.png) [@goyal.arun16](https://devforum.zoom.us/u/goyal.arun16)\
**Post date:** [July 30, 2019, 1:17pm UTC](https://devforum.zoom.us/t/java-lang-unsatisfiedlinkerror-has-been-throwed-when-initialize-zoomsdk/430/29 "2019-07-30T13:17:32Z")

</div>

Hi, I was looking latest SDK, there are two projects, which one I should follow : [example2](https://github.com/zoom/zoom-sdk-android/tree/master/mobilertc-android-studio/example2) or

[sample](https://github.com/zoom/zoom-sdk-android/tree/master/mobilertc-android-studio/sample)

Right now I am working with exmaple2 and in that there is Activity class “MainActivity”

Thanks  
Arun

---

<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 30, 2019, 5:07pm UTC](https://devforum.zoom.us/t/java-lang-unsatisfiedlinkerror-has-been-throwed-when-initialize-zoomsdk/430/30 "2019-07-30T17:07:30Z")

</div>

Hi,

Thanks for the reply. The example2 and sample are demo apps that are demonstrating different scenarios, they are the app that shows how to integrate Zoom SDK into an application and how to use SDK interfaces.

The `MainActivity` is a class in the demo application, not in the SDK.

Thanks!

---

<div class="post-metadata">

**Author:** ![goyal.arun16](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/goyal.arun16/32/957_2.png) [@goyal.arun16](https://devforum.zoom.us/u/goyal.arun16)\
**Post date:** [July 31, 2019, 5:32am UTC](https://devforum.zoom.us/t/java-lang-unsatisfiedlinkerror-has-been-throwed-when-initialize-zoomsdk/430/31 "2019-07-31T05:32:56Z")

</div>

Thanks Carson for reply,

You are right those are sample app which used SDK to demonstrate the working on SDK but in Example2 App OnbackPress is not handled and when try to implement method on backPress flow control didn’t come to on backPress. Actually on backpress I want to leave running meeting/webinar.  
I have imported the code from git and added SDK key and secret Key. other than this I didn’t change anything

---

<div class="post-metadata">

**Author:** ![goyal.arun16](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/goyal.arun16/32/957_2.png) [@goyal.arun16](https://devforum.zoom.us/u/goyal.arun16)\
**Post date:** [July 31, 2019, 10:28am UTC](https://devforum.zoom.us/t/java-lang-unsatisfiedlinkerror-has-been-throwed-when-initialize-zoomsdk/430/32 "2019-07-31T10:28:58Z")

</div>

![28%20PM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/a/abd8429ba9dd56a225dfe96eb2f4b9a7418d5397.png)

I am trying new SDK so is it necessary to move to androidx for the latest version.I have just replaced aar, gradle and iml files. Above attached image is the problem I am facing.

Stack Trace :  
Error:Supertypes of the following classes cannot be resolved. Please make sure you have the required dependencies in the classpath:  
class us.zoom.androidlib.app.ZMActivity, unresolved supertypes: androidx.fragment.app.FragmentActivity

---

<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 31, 2019, 5:38pm UTC](https://devforum.zoom.us/t/java-lang-unsatisfiedlinkerror-has-been-throwed-when-initialize-zoomsdk/430/34 "2019-07-31T17:38:55Z")

</div>

Hi Arun,

Thanks for the reply. Yes, upgrading to AndroidX project is a requirement, please see: [https://github.com/zoom/zoom-sdk-android#frequently-asked-questions-faq](https://github.com/zoom/zoom-sdk-android#frequently-asked-questions-faq)

Once you upgrade your project to AndroidX, then this error will go away.

Thanks!

---

<div class="post-metadata">

**Author:** ![goyal.arun16](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/goyal.arun16/32/957_2.png) [@goyal.arun16](https://devforum.zoom.us/u/goyal.arun16)\
**Post date:** [July 31, 2019, 6:15pm UTC](https://devforum.zoom.us/t/java-lang-unsatisfiedlinkerror-has-been-throwed-when-initialize-zoomsdk/430/35 "2019-07-31T18:15:49Z")

</div>

Thanks Carson, updates SDK is working fine but still facing issue onBackPress Handling.  
When I put config file in values a different UI is opened when start a meeting and backPress is handled , when I don’t put config file UI is expected but onBack is not working.

Can you tell me what is the use of config.xml

---

<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 1, 2019, 1:22am UTC](https://devforum.zoom.us/t/java-lang-unsatisfiedlinkerror-has-been-throwed-when-initialize-zoomsdk/430/36 "2019-08-01T01:22:18Z")

</div>

Hi Arun,

Glad to hear that the back press is handled. The config.xml is used for configuring the meeting Activity.

Thanks!

---

<div class="post-metadata">

**Author:** ![goyal.arun16](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/goyal.arun16/32/957_2.png) [@goyal.arun16](https://devforum.zoom.us/u/goyal.arun16)\
**Post date:** [August 1, 2019, 2:21pm UTC](https://devforum.zoom.us/t/java-lang-unsatisfiedlinkerror-has-been-throwed-when-initialize-zoomsdk/430/37 "2019-08-01T14:21:57Z")

</div>

Hi Carson,

One more question when I put config a different UI is opened! [Screenshot\_20190801-193822|250x500](https://devforum.zoom.us/uploads/short-url/4iawqOsLoO1FceIBEbh1ucdlOKU.jpeg) . How to avoid this screen .

Thanks  
Arun

---

<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 1, 2019, 6:30pm UTC](https://devforum.zoom.us/t/java-lang-unsatisfiedlinkerror-has-been-throwed-when-initialize-zoomsdk/430/38 "2019-08-01T18:30:41Z")

</div>

Hi Arun,

Are you using the my\_meeting\_layout.xml in the example2? That UI is a demo layout and you can change it.

- [https://developer.android.com/guide/topics/ui/declaring-layout](https://developer.android.com/guide/topics/ui/declaring-layout)
- [https://developer.android.com/studio/write/layout-editor](https://developer.android.com/studio/write/layout-editor)

Thanks!

---

<div class="post-metadata">

**Author:** ![goyal.arun16](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/goyal.arun16/32/957_2.png) [@goyal.arun16](https://devforum.zoom.us/u/goyal.arun16)\
**Post date:** [August 4, 2019, 4:22pm UTC](https://devforum.zoom.us/t/java-lang-unsatisfiedlinkerror-has-been-throwed-when-initialize-zoomsdk/430/40 "2019-08-04T16:22:18Z")

</div>

Thanks Carson , backpress is handled , new SDK is working but using this SDK app size is increased by 10-12 mb . Is there any way to avoid that .

ndk {  
abiFilters “armeabi-v7a”, “arm64-v8a”  
}

Above is ABI filters I am using .

Thanks  
Arun

---

<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, 2019, 6:51pm UTC](https://devforum.zoom.us/t/java-lang-unsatisfiedlinkerror-has-been-throwed-when-initialize-zoomsdk/430/41 "2019-08-05T18:51:45Z")

</div>

Hi Arun,

Thanks for the reply. You may refer to the answer here to reduce your size: [App size estimate](https://devforum.zoom.us/t/app-size-estimate/5092/2)

Thanks!

---

<div class="post-metadata">

**Author:** ![goyal.arun16](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/goyal.arun16/32/957_2.png) [@goyal.arun16](https://devforum.zoom.us/u/goyal.arun16)\
**Post date:** [August 6, 2019, 8:44am UTC](https://devforum.zoom.us/t/java-lang-unsatisfiedlinkerror-has-been-throwed-when-initialize-zoomsdk/430/42 "2019-08-06T08:44:22Z")

</div>

Thanks Carson, its working now

---

<div class="post-metadata">

**Author:** ![goyal.arun16](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/goyal.arun16/32/957_2.png) [@goyal.arun16](https://devforum.zoom.us/u/goyal.arun16)\
**Post date:** [August 6, 2019, 8:48am UTC](https://devforum.zoom.us/t/java-lang-unsatisfiedlinkerror-has-been-throwed-when-initialize-zoomsdk/430/43 "2019-08-06T08:48:16Z")

</div>

I am using WebSDK version 1.5.0 to join a meeting and using the sample code provided with it.

When I try to join a meeting I get “Not support registration webinar” error,  
But the webinar I am trying to connect is not registration based

Carson can you help me with this or redirect to correct thread

Thanks

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [August 6, 2019, 4:20pm UTC](https://devforum.zoom.us/t/java-lang-unsatisfiedlinkerror-has-been-throwed-when-initialize-zoomsdk/430/44 "2019-08-06T16:20:11Z")

</div>

Hey @goyal.arun16,

Are you setting the userEmail?

“In your `index.js` file and within the join method you will need to set make sure the **userEmail** property is set.”

Also confirming, you have the `role` set to `0` in your meetConfig object?

> **[Join a Webinar - Getting Started - Web SDK - Native SDKs - Zoom Software...](https://marketplace.zoom.us/docs/sdk/native-sdks/Web-Client-SDK/getting-started/join-a-webinar)**
>
> Joining a Webinar
> 
> 
> 
> Schedule a non registration webinar using our Zoom portal.
> //s3.amazonaws.com/user-content.stoplight.io/7556/1544484327519
> In your ...

Thanks,  
Tommy

[Previous page](https://devforum.zoom.us/t/java-lang-unsatisfiedlinkerror-has-been-throwed-when-initialize-zoomsdk/430.md?page=1)

[Next page](https://devforum.zoom.us/t/java-lang-unsatisfiedlinkerror-has-been-throwed-when-initialize-zoomsdk/430.md?page=3)
