# More than one file was found with OS independent path 'lib/arm64-v8a/libc++\_shared.so'

**URL:** <https://devforum.zoom.us/t/more-than-one-file-was-found-with-os-independent-path-lib-arm64-v8a-libc-shared-so/36102>\
**Category:** Android\
**Created:** [November 16, 2020, 11:17am UTC](https://devforum.zoom.us/t/more-than-one-file-was-found-with-os-independent-path-lib-arm64-v8a-libc-shared-so/36102 "2020-11-16T11:17:37Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![daniel3](https://avatars.discourse-cdn.com/v4/letter/d/a4c791/32.png) [@daniel3](https://devforum.zoom.us/u/daniel3)\
**Post date:** [November 16, 2020, 11:17am UTC](https://devforum.zoom.us/t/more-than-one-file-was-found-with-os-independent-path-lib-arm64-v8a-libc-shared-so/36102/1 "2020-11-16T11:17:37Z")

</div>

**Description**  
We currently use zoom version v5.0.24433.0616 in our Android mobile app. We also use amazon chime in our app(currently version 0.7.3 of the android sdk) . For now things are ok, both amazon chime sdk and zoom sdk work ok on our current versions. However, if I try to update to the latest zoom sdk, which is v5.2.41727.0928, it gives me the compilation error "More than one file was found with OS independent path ‘lib/arm64-v8a/libc++\_shared.so’ ". I tried everything I found on the internet to make it work, with no success. The only way to make the app compile is to add

packagingOptions {  
exclude ‘lib/x86/libc++\_shared.so’  
exclude ‘lib/arm64-v8a/libc++\_shared.so’  
exclude ‘lib/x86\_64/libc++\_shared.so’  
exclude ‘lib/armeabi-v7a/libc++\_shared.so’  
}  
in the android tag in build.gradle of the app. But that of course will crash the app when accessing either zoom or chime sdk features.

**Which version?**  
v5.2.41727.0928

**To Reproduce(If applicable)**  
Steps to reproduce the behavior:

1. Use amazon chime sdk 0.7.3
2. Use zooom sdk v5.2.41727.0928
3. Compile the app

**Additional context**  
Really doesn’t matter these but just to give an example  
Android 9 or Android 10  
compileSdkVersion 29  
buildToolsVersion “29.0.3”  
Android Studiu 4.1.1 (latest version)  
ext.kotlin\_version = ‘1.3.61’

My question is, what should we do in order to update the zoom library, and still be able to use chime as well? 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:** [November 16, 2020, 5:57pm UTC](https://devforum.zoom.us/t/more-than-one-file-was-found-with-os-independent-path-lib-arm64-v8a-libc-shared-so/36102/2 "2020-11-16T17:57:49Z")

</div>

Hi @daniel3, thanks for the post.

This is a [known issue](https://devforum.zoom.us/t/conflicting-native-shared-object-so-library-file-libc-shared-so/34729/6) with the latest version of the Android SDK. Please see the linked post for information on how to resolve this.

Thanks!

---

<div class="post-metadata">

**Author:** ![appgolive.test](https://avatars.discourse-cdn.com/v4/letter/a/b487fb/32.png) [@appgolive.test](https://devforum.zoom.us/u/appgolive.test)\
**Post date:** [August 24, 2022, 4:42am UTC](https://devforum.zoom.us/t/more-than-one-file-was-found-with-os-independent-path-lib-arm64-v8a-libc-shared-so/36102/3 "2022-08-24T04:42:19Z")

</div>

We are using pjsua2 and we see same error

---

<div class="post-metadata">

**Author:** ![appgolive.test](https://avatars.discourse-cdn.com/v4/letter/a/b487fb/32.png) [@appgolive.test](https://devforum.zoom.us/u/appgolive.test)\
**Post date:** [August 24, 2022, 6:02am UTC](https://devforum.zoom.us/t/more-than-one-file-was-found-with-os-independent-path-lib-arm64-v8a-libc-shared-so/36102/4 "2022-08-24T06:02:59Z")

</div>

2 files found with path ‘lib/arm64-v8a/libc++\_shared.so’ from inputs:  
-/ xxxx/pjsua2/build/intermediates/library\_jni/debug/jni/arm64-v8a/libc++\_shared.so

- /xxxxx/mobilertc/build/.transforms/445b8adf65ed1845334c5eaf41712982/transformed/jetified-mobilertc/jni/arm64-v8a/libc++\_shared.so

---

<div class="post-metadata">

**Author:** ![appgolive.test](https://avatars.discourse-cdn.com/v4/letter/a/b487fb/32.png) [@appgolive.test](https://devforum.zoom.us/u/appgolive.test)\
**Post date:** [August 24, 2022, 6:12am UTC](https://devforum.zoom.us/t/more-than-one-file-was-found-with-os-independent-path-lib-arm64-v8a-libc-shared-so/36102/5 "2022-08-24T06:12:06Z")

</div>

Getting same issue though I use latest Android SDK (31) and used packagingOptions {pickFirst ‘\*\*/\*.so’}, JNI layer is throwing exception when we join a call, more logs can be found in [Here](https://devforum.zoom.us/t/libannotate-so-error/74638)
