# Generate Signed Bundle: Errors while building Bundle file. 'other' has different root

**URL:** <https://devforum.zoom.us/t/generate-signed-bundle-errors-while-building-bundle-file-other-has-different-root/67074>\
**Category:** Android\
**Created:** [April 6, 2022, 8:19am UTC](https://devforum.zoom.us/t/generate-signed-bundle-errors-while-building-bundle-file-other-has-different-root/67074 "2022-04-06T08:19:36Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![mptr.rkn](https://avatars.discourse-cdn.com/v4/letter/m/e95f7d/32.png) [@mptr.rkn](https://devforum.zoom.us/u/mptr.rkn)\
**Post date:** [April 6, 2022, 8:19am UTC](https://devforum.zoom.us/t/generate-signed-bundle-errors-while-building-bundle-file-other-has-different-root/67074/1 "2022-04-06T08:19:36Z")

</div>

I have search many times to solve this error. My apps going well when build with no signed but it getting error when build Signed Bundle/APK. I used zoom meeting android SDK in my project with module name mobilertc and commonlib. i have included multidex depedencies and try to delete .gradle file then invalidate/restart android, but it still get error like this :

Type a.a.a.a.a is defined multiple times: C:\Users\AndroidStudioProjects\android-zoomsdk\mobilertc\build.transforms\135bfa37c7ff11bc18f4ecf26c77ccbe\jetified-mobilertc-runtime\classes.dex, C:\Users\AndroidStudioProjects\android -zoomsdk\app\build\intermediates\external\_libs\_dex\developmentRelease\mergeExtDexDevelopmentRelease\classes.dex

I need to generate my Signed Bundle/APK that used to upload to play store. I really appreciate your answer. Thanks.

---

<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:** [April 6, 2022, 6:04pm UTC](https://devforum.zoom.us/t/generate-signed-bundle-errors-while-building-bundle-file-other-has-different-root/67074/2 "2022-04-06T18:04:57Z")

</div>

Hi @mptr.rkn,

Since this is only happening when building a signed bundle, it is likely being caused by ProGuard. Can you please try adding the below rules to your ProGuard config?

```auto
-keep class us.zoom.**{*;}
-keep class com.zipow.**{*;}
-keep class us.zipow.**{*;}
-keep class org.webrtc.**{*;}
-keep class us.google.protobuf.**{*;}
-keep class com.google.crypto.tink.**{*;}
-keep class androidx.security.crypto.**{*;}

```

Thanks!

---

<div class="post-metadata">

**Author:** ![mptr.rkn](https://avatars.discourse-cdn.com/v4/letter/m/e95f7d/32.png) [@mptr.rkn](https://devforum.zoom.us/u/mptr.rkn)\
**Post date:** [April 7, 2022, 3:17am UTC](https://devforum.zoom.us/t/generate-signed-bundle-errors-while-building-bundle-file-other-has-different-root/67074/3 "2022-04-07T03:17:07Z")

</div>

> [@jon.zoom](#):
>
> ProGuard config

Thanks for the answer. after i added that code at ProGuard Config it still show same error.

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/4/a/4a92bfcad0afce80c534f48681f98ae9e7f45ba3.png)

how to resolve this problem??

---

<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:** [April 7, 2022, 5:24pm UTC](https://devforum.zoom.us/t/generate-signed-bundle-errors-while-building-bundle-file-other-has-different-root/67074/4 "2022-04-07T17:24:43Z")

</div>

Hi @mptr.rkn,

Can you please confirm how the SDK was added to your project? Also, what does the file structure of your project look like?

Thanks!

---

<div class="post-metadata">

**Author:** ![mptr.rkn](https://avatars.discourse-cdn.com/v4/letter/m/e95f7d/32.png) [@mptr.rkn](https://devforum.zoom.us/u/mptr.rkn)\
**Post date:** [April 11, 2022, 6:23am UTC](https://devforum.zoom.us/t/generate-signed-bundle-errors-while-building-bundle-file-other-has-different-root/67074/5 "2022-04-11T06:23:16Z")

</div>

i added the module with this step on android studio ::  
File → Import module → choose folder mobilertc and commonlib

for information i used zoom-sdk-android-5.9.6.4777.

and this is my project structure with Zoom SDK.  
 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/7/67ffe5aefa0ac2ef6c2b2cc146278da3b2fd9200.png)

Thank You!

---

<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:** [April 11, 2022, 10:53pm UTC](https://devforum.zoom.us/t/generate-signed-bundle-errors-while-building-bundle-file-other-has-different-root/67074/6 "2022-04-11T22:53:44Z")

</div>

Hi @mptr.rkn,

Thanks for the additional context. Can you also share how the SDK is being integrated into your app’s `build.gradle` file?

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:** [May 12, 2022, 8:53am UTC](https://devforum.zoom.us/t/generate-signed-bundle-errors-while-building-bundle-file-other-has-different-root/67074/7 "2022-05-12T08:53:57Z")

</div>

Closed on May 12, 2022, 8:53am UTC

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