# Error after adding sdk mobilertc & commonlib :Type a.a.a.a.a is defined multiple times

**URL:** <https://devforum.zoom.us/t/error-after-adding-sdk-mobilertc-commonlib-type-a-a-a-a-a-is-defined-multiple-times/66533>\
**Category:** Android\
**Created:** [March 28, 2022, 7:10am UTC](https://devforum.zoom.us/t/error-after-adding-sdk-mobilertc-commonlib-type-a-a-a-a-a-is-defined-multiple-times/66533 "2022-03-28T07:10:50Z")\
**Posts on this page:** 5\
**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:** [March 28, 2022, 7:10am UTC](https://devforum.zoom.us/t/error-after-adding-sdk-mobilertc-commonlib-type-a-a-a-a-a-is-defined-multiple-times/66533/1 "2022-03-28T07:10:50Z")

</div>

Hi, i have an android native project that can implement zoom meetings. but when i added new module to my project and want to run my project its getting error like this : Type a.a.a.a.a is defined multiple times: C:\Users\projectName\app\build\intermediates\mixed\_scope\_dex\_archive\developmentDebug\out\69936bcbe8411412d1ec20011ad853cf86b0a9f91a79bf018f83a54f3ac4a3af\_3.jar:classes.dex

Please help, i already delete .gradle file and then delete the build folder on folder app and the rebuild project but it still show error like that. please help:( 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:** [March 30, 2022, 9:33pm UTC](https://devforum.zoom.us/t/error-after-adding-sdk-mobilertc-commonlib-type-a-a-a-a-a-is-defined-multiple-times/66533/2 "2022-03-30T21:33:06Z")

</div>

Hi @mptr.rkn, thanks for using the dev forum.

This error does not appear to be related to the Meeting SDK. We can only assist with issues directly related to our SDK.

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:** [March 31, 2022, 6:53am UTC](https://devforum.zoom.us/t/error-after-adding-sdk-mobilertc-commonlib-type-a-a-a-a-a-is-defined-multiple-times/66533/3 "2022-03-31T06:53:58Z")

</div>

Hi thanks for the reply and the answer.  
yes, i have implement new way to add commonlib and mobilertc with .aar extension.  
now i have add commonlib.aar and mobilertc.arr. but when build the app it show error like this

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/f/6fd7e74ffb9f1f3c79c30526dfba0de1cf15c098.png)

and this is my project structure after add mobilertc.aar and commonlib.aar

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/5/5/552de8b266aafd50e9a26e8aeda147976b49eec2.png)

Im use the latest SDK version which is zoom-sdk-android-5.9.3.4273.  
please give me help how to resolve this error.  
i have using this configuration

```auto
android {
    compileSdkVersion 31

    defaultConfig {
        minSdkVersion 28
        targetSdkVersion 31
        testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
        multiDexEnabled true
        vectorDrawables.useSupportLibrary = true
    }
}

```

---

<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 31, 2022, 4:53pm UTC](https://devforum.zoom.us/t/error-after-adding-sdk-mobilertc-commonlib-type-a-a-a-a-a-is-defined-multiple-times/66533/4 "2022-03-31T16:53:48Z")

</div>

Hi @mptr.rkn,

Thanks for the additional information. The errors in your screenshot do not appear to be related to the SDK. I would recommend seeking help from a general developer community such as StackOverflow. 🙂

That being said, it doesn’t look like you are adding the SDK to your project in the recommended way. I don’t think this will resolve the build issues you are seeing, but it’s still worth changing. The easiest way to integrate the SDK into your project is to copy the `mobilertc` and `commonlib` folders into your project and add the module dependencies to your app’s `build.gradle` with `implement project(':mobilertc')` & `implement project(':commonlib')`.

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 1, 2022, 2:54am UTC](https://devforum.zoom.us/t/error-after-adding-sdk-mobilertc-commonlib-type-a-a-a-a-a-is-defined-multiple-times/66533/5 "2022-05-01T02:54:04Z")

</div>

Closed on May 1, 2022, 2:54am UTC

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