# com.hivemq:hivemq-mqtt-client:1.2.1

**URL:** <https://community.hivemq.com/t/com-hivemq1-2-1/1259>\
**Category:** Uncategorized\
**Created:** [June 14, 2022, 9:12am UTC](https://community.hivemq.com/t/com-hivemq1-2-1/1259 "2022-06-14T09:12:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![lytruongchinh](https://avatars.discourse-cdn.com/v4/letter/l/b5ac83/32.png) [@lytruongchinh](https://community.hivemq.com/u/lytruongchinh)\
**Post date:** [June 14, 2022, 9:12am UTC](https://community.hivemq.com/t/com-hivemq1-2-1/1259/1 "2022-06-14T09:12:22Z")

</div>

Hi all, I am facing a problem I cannot resolve. I try to import the hiveMQ library to the one android project (using android visual studio) but when I import it has an error like this.  
“5 files found with path ‘META-INF/INDEX.LIST’.  
Adding a packaging options block may help, please refer to

> **[ResourcesPackagingOptions  |  Android Developers](https://developer.android.com/reference/tools/gradle-api/7.2/com/android/build/api/dsl/ResourcesPackagingOptions)**

for more information”  
how can I solve this problem? I hope I can get help from you. thank you.

---

<div class="post-metadata">

**Author:** ![vigyanabikshu](https://avatars.discourse-cdn.com/v4/letter/v/59ef9b/32.png) [@vigyanabikshu](https://community.hivemq.com/u/vigyanabikshu)\
**Post date:** [August 30, 2023, 9:07pm UTC](https://community.hivemq.com/t/com-hivemq1-2-1/1259/2 "2023-08-30T21:07:08Z")

</div>

build.gradle : app add below inside android{} will resolve

packagingOptions {  
resources {  
resources.excludes.add(“/META-INF/{AL2.0,LGPL2.1}”)  
resources.excludes.add(“META-INF/LICENSE.md”)  
resources.excludes.add(“META-INF/LICENSE-notice.md”)  
resources.excludes.add(“META-INF/INDEX.LIST”)  
resources.excludes.add(“META-INF/\*.properties”)  
}  
}
