# Zoom android sdk integration in android dynamic feature module

**URL:** <https://devforum.zoom.us/t/zoom-android-sdk-integration-in-android-dynamic-feature-module/7611>\
**Category:** Android\
**Created:** [January 21, 2020, 5:46am UTC](https://devforum.zoom.us/t/zoom-android-sdk-integration-in-android-dynamic-feature-module/7611 "2020-01-21T05:46:23Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![amar.gupta](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/amar.gupta/32/2964_2.png) [@amar.gupta](https://devforum.zoom.us/u/amar.gupta)\
**Post date:** [January 21, 2020, 5:46am UTC](https://devforum.zoom.us/t/zoom-android-sdk-integration-in-android-dynamic-feature-module/7611/1 "2020-01-21T05:46:23Z")

</div>

Hi,  
I am trying to integrate zoom android sdk in my project.  
I don’t want my apk size to become bigger, So I am trying to integrate zoom sdk as android dynamic feature module.  
While adding library to dynamic feature module I am getting error-  
“Android resource linking failed”-9-66:58: AAPT: error: resource style/ZMTheme.Transparent (aka com.amar.mytest:style/ZMTheme.Transparent) not found.

in generated manifest file of dynamic module.

---

<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:** [January 22, 2020, 2:15am UTC](https://devforum.zoom.us/t/zoom-android-sdk-integration-in-android-dynamic-feature-module/7611/2 "2020-01-22T02:15:02Z")

</div>

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

Thanks for using Zoom SDK. I will forward this to our engineering team and we will investigate the case you are mentioning and get back to you shortly.

Thanks!

---

<div class="post-metadata">

**Author:** ![ativsoftware](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ativsoftware/32/8986_2.png) [@ativsoftware](https://devforum.zoom.us/u/ativsoftware)\
**Post date:** [March 12, 2020, 6:55pm UTC](https://devforum.zoom.us/t/zoom-android-sdk-integration-in-android-dynamic-feature-module/7611/3 "2020-03-12T18:55:50Z")

</div>

Has any solution to this problem been found? I am having the same issue. It works fine if both libraries are included in the base project, but by including them in the dynamic module, this error arises.

Thank you.

---

<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:** [March 13, 2020, 3:51am UTC](https://devforum.zoom.us/t/zoom-android-sdk-integration-in-android-dynamic-feature-module/7611/4 "2020-03-13T03:51:04Z")

</div>

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

Thanks for using Zoom SDK. Currently we do not have any solution for using our SDK with the dynamic module. So our SDK does not support dynamic module at the moment.

Hope this helps. Thanks!

---

<div class="post-metadata">

**Author:** ![sa159871](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/sa159871/32/5466_2.png) [@sa159871](https://devforum.zoom.us/u/sa159871)\
**Post date:** [May 22, 2020, 10:43am UTC](https://devforum.zoom.us/t/zoom-android-sdk-integration-in-android-dynamic-feature-module/7611/5 "2020-05-22T10:43:39Z")

</div>

@carson.zoom Is there an update for the dynamic-feature-module. Any documentation or such, The app size is too big just because of the SDK, any other alternative we can use?

---

<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:** [May 23, 2020, 3:30am UTC](https://devforum.zoom.us/t/zoom-android-sdk-integration-in-android-dynamic-feature-module/7611/6 "2020-05-23T03:30:29Z")

</div>

@sa159871, unfortunately I do not have any update regarding the dynamic feature module. If you would like to reduce the size of the SDK, you may add abiFilters in your build.gradle to remove the unused files for the different CPU architectures.

---

<div class="post-metadata">

**Author:** ![rsarvesh.199](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/rsarvesh.199/32/11464_2.png) [@rsarvesh.199](https://devforum.zoom.us/u/rsarvesh.199)\
**Post date:** [July 6, 2020, 1:54am UTC](https://devforum.zoom.us/t/zoom-android-sdk-integration-in-android-dynamic-feature-module/7611/7 "2020-07-06T01:54:51Z")

</div>

Can you find solution for dynamic feature add for zoom

---

<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 8, 2020, 7:29am UTC](https://devforum.zoom.us/t/zoom-android-sdk-integration-in-android-dynamic-feature-module/7611/8 "2020-07-08T07:29:35Z")

</div>

Hi @rsarvesh.199,

The Android SDK currently does not support dynamic feature module. Thanks!

---

<div class="post-metadata">

**Author:** ![bhaveshj](https://avatars.discourse-cdn.com/v4/letter/b/cab0a1/32.png) [@bhaveshj](https://devforum.zoom.us/u/bhaveshj)\
**Post date:** [August 5, 2020, 9:46am UTC](https://devforum.zoom.us/t/zoom-android-sdk-integration-in-android-dynamic-feature-module/7611/9 "2020-08-05T09:46:41Z")

</div>

Have you found any solution ?

---

<div class="post-metadata">

**Author:** ![Farbklex](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/farbklex/32/13069_2.png) [@Farbklex](https://devforum.zoom.us/u/Farbklex)\
**Post date:** [August 5, 2020, 11:48am UTC](https://devforum.zoom.us/t/zoom-android-sdk-integration-in-android-dynamic-feature-module/7611/10 "2020-08-05T11:48:43Z")

</div>

This is a known issue with android Dynamic Feature modules. See this [related StackOverflow question](https://stackoverflow.com/questions/54807720/error-using-styles-in-dynamic-modules-android-app-bundle).

The zoom SDK uses styles that are unknown to your base module.

As a workaround, do the following:

1. go to your main app module
2. Create a `styles.xml` file (if you don’t have one already) in the `res/values` folder
3. Add the missing style declarations, so your file looks like this:

```auto
<resources>
    ...

    <!-- Fix manifest merge issues since the dynamic delivery module uses styles which are not
    defined in the base app module -->
    <style name="ZMTheme"></style>
    <style name="ZMTheme.Transparent"></style>
    <style name="ZMTheme.SubWindow"></style>
    <style name="ZMDialog"></style>
    <style name="ZMDialog.Transparent"></style>

    ...
</resources>

```

1. Add the following missing string resource to `/res/values/strings.xml` as well

```auto
<string name="zm_app_name"></string>

```

Your project should now work again.

---

<div class="post-metadata">

**Author:** ![bhaveshj](https://avatars.discourse-cdn.com/v4/letter/b/cab0a1/32.png) [@bhaveshj](https://devforum.zoom.us/u/bhaveshj)\
**Post date:** [August 6, 2020, 1:19pm UTC](https://devforum.zoom.us/t/zoom-android-sdk-integration-in-android-dynamic-feature-module/7611/11 "2020-08-06T13:19:28Z")

</div>

Thank you for your reply. Theme issue has been resolved, but another issue is coming when initialize zoom SDK into Dynamic module  
**android.content.res.Resources$NotFoundException: Resource ID #0x0**

---

<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 14, 2020, 5:17am UTC](https://devforum.zoom.us/t/zoom-android-sdk-integration-in-android-dynamic-feature-module/7611/12 "2020-08-14T05:17:27Z")

</div>

Hi @bhaveshj,

Thanks for the reply. The Zoom SDK does not support Android Dynamic Feature Module.

Thanks!

---

<div class="post-metadata">

**Author:** ![abhinavkhajuria72](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/abhinavkhajuria72/32/15638_2.png) [@abhinavkhajuria72](https://devforum.zoom.us/u/abhinavkhajuria72)\
**Post date:** [September 21, 2020, 5:16am UTC](https://devforum.zoom.us/t/zoom-android-sdk-integration-in-android-dynamic-feature-module/7611/13 "2020-09-21T05:16:12Z")

</div>

Is there any update regarding Dynamic delivery as it is supposed to be the best possible alternate to reduce the app size.

---

<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:** [September 21, 2020, 4:04pm UTC](https://devforum.zoom.us/t/zoom-android-sdk-integration-in-android-dynamic-feature-module/7611/14 "2020-09-21T16:04:26Z")

</div>

Hi @abhinavkhajuria72,

Please see my previous response to your question [here](https://devforum.zoom.us/t/apk-size-after-adding-android-zoom-sdk/16573/19).

Thanks!

---

<div class="post-metadata">

**Author:** ![Farbklex](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/farbklex/32/13069_2.png) [@Farbklex](https://devforum.zoom.us/u/Farbklex)\
**Post date:** [September 23, 2020, 12:16pm UTC](https://devforum.zoom.us/t/zoom-android-sdk-integration-in-android-dynamic-feature-module/7611/15 "2020-09-23T12:16:26Z")

</div>

Ah, yes this is a problem with how the zoom sdk tries to access some raw resources. Zoom SDK tries to access the resources by looking them up with the package name of the main app module. However, the resources are in the separate dynamic feature module. The only workaround I found is to extract the raw resources (around 450 KB) and copy them in the main app module like this:

1. Unzip the `mobilertc.aar` file
2. Copy the content of the `mobilertc\res\raw` folder into your apps raw folder (for example: `app\res\raw`)

This is hacky. When zoom updates their SDK, we need to make sure to repeat this copy step again. But it allows us to save space and install the rest of the zoom SDK only when it’s required.

---

<div class="post-metadata">

**Author:** ![abhinavkhajuria72](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/abhinavkhajuria72/32/15638_2.png) [@abhinavkhajuria72](https://devforum.zoom.us/u/abhinavkhajuria72)\
**Post date:** [September 28, 2020, 1:28pm UTC](https://devforum.zoom.us/t/zoom-android-sdk-integration-in-android-dynamic-feature-module/7611/16 "2020-09-28T13:28:08Z")

</div>

Farbklex, thanks for replying.  
This perfectly works when you install the app as app.apk  
Request you to try the below case, it fails in the specific case, when i try to test this functionality by internal app sharing on Google play store. The resources are again missing on  
zoomSDK.initialize(this, this, initParams);  
when you try to launch the zoom second time in your app after the sdk is downloaded by Dynamic Feature Delivery, the below logs appear after an ANR and a crash each time.  
If and only if you remove the app or kill the app during the call (only happens in case of bundle app via dynamic delivery not in case of app.apk)

No package ID 7e found for ID 0x7e0d029d.  
No package ID 7e found for ID 0x7e020003.  
JNI DETECTED ERROR IN APPLICATION: JNI CallStaticObjectMethodV called with pending exception android.content.res.Resources$NotFoundException: String array resource ID #0x7e020003  
at java.lang.String android.content.res.Resources.getStringArray(int) (Resources.java:597)  
at java.lang.String android.content.res.MiuiResources.getStringArray(int) (MiuiResources.java:160)  
at boolean us.zipow.mdm.ZMMdmManager.refreshPolicy() (ZMMdmManager.java:119)  
at int com.zipow.videobox.mainboard.Mainboard.initMainboard(java.lang.String, java.lang.String, byte, java.lang.String, int) (Mainboard.java:-2)  
at void com.zipow.videobox.mainboard.Mainboard.initialize(java.lang.String, boolean, int, boolean) (Mainboard.java:247)  
at void com.zipow.videobox.VideoBoxApplication.initSDKMainboard(boolean, int, int, boolean) (VideoBoxApplication.java:2253)  
at void com.zipow.videobox.VideoBoxApplication.initAppForSDK(boolean, int, int, boolean) (VideoBoxApplication.java:2235)  
at void com.zipow.videobox.VideoBoxApplication.onSDKCreated(boolean, int, int, boolean) (VideoBoxApplication.java:2193)  
at void com.zipow.videobox.VideoBoxApplication.initializeForSDK(android.content.Context, boolean, int, int, boolean) (VideoBoxApplication.java:2170)  
at void us.zoom.sdk.ZoomSDK.initialize(android.content.Context, us.zoom.sdk.ZoomSDKInitializeListener, us.zoom.sdk.ZoomSDKInitParams) (ZoomSDK.java:454)  
… and so on …

---

<div class="post-metadata">

**Author:** ![janikagahalot](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/janikagahalot/32/21892_2.png) [@janikagahalot](https://devforum.zoom.us/u/janikagahalot)\
**Post date:** [November 18, 2020, 8:06pm UTC](https://devforum.zoom.us/t/zoom-android-sdk-integration-in-android-dynamic-feature-module/7611/17 "2020-11-18T20:06:00Z")

</div>

Hi Farbklex,

I tried using all the steps you mention to add zoom sdk in the dynamic feature but it still gives an error and gets stuck and not able to init ZoomSDK.  
Even when try to install apk it gives error java.lang.ClassNotFoundException: Didn’t find class “\*\*Activity"on path: : DexPathList.  
Do you have any other work around or suggestion, what might be wrong?

---

<div class="post-metadata">

**Author:** ![abhinavkhajuria72](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/abhinavkhajuria72/32/15638_2.png) [@abhinavkhajuria72](https://devforum.zoom.us/u/abhinavkhajuria72)\
**Post date:** [December 11, 2020, 7:21am UTC](https://devforum.zoom.us/t/zoom-android-sdk-integration-in-android-dynamic-feature-module/7611/18 "2020-12-11T07:21:17Z")

</div>

It wont work, i have been trying since last 4 months. Zoom doesn’t support dynamic feature delivery and also haven’t given any date since when will they start supporting or even is it there in priority? No clear reply or response…

---

<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:** [December 14, 2020, 6:12pm UTC](https://devforum.zoom.us/t/zoom-android-sdk-integration-in-android-dynamic-feature-module/7611/19 "2020-12-14T18:12:16Z")

</div>

Hi @abhinavkhajuria72,

We apologize for any confusion, but we do not currently have plans to support dynamic modules for the Android SDK. We will let you know if this changes.

Thanks!

---

<div class="post-metadata">

**Author:** ![ayusch.jain](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ayusch.jain/32/18215_2.png) [@ayusch.jain](https://devforum.zoom.us/u/ayusch.jain)\
**Post date:** [February 11, 2021, 6:05am UTC](https://devforum.zoom.us/t/zoom-android-sdk-integration-in-android-dynamic-feature-module/7611/20 "2021-02-11T06:05:34Z")

</div>

Any updates on this so far ? Does zoom now support dynamic delivery for Android ?

[Next page](https://devforum.zoom.us/t/zoom-android-sdk-integration-in-android-dynamic-feature-module/7611.md?page=2)
