aws-samples / amazon-chime-react-native-demo

A React Native demo application for Android and iOS using the Amazon Chime SDK.
MIT No Attribution
102 stars 24 forks source link

Build Issue > Execution failed for task ':app:mergeDebugNativeLibs'. #116

Closed GeunwonChoi closed 2 years ago

GeunwonChoi commented 2 years ago

Describe the bug A clear and concise description of what the bug is.

An error occurs during the build. (npx react-native run-android)

Logs If applicable, add logs from logcat to help explain your problem.

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:mergeDebugNativeLibs'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.MergeJavaResWorkAction
   > 2 files found with path 'lib/arm64-v8a/libc++_shared.so' from inputs:
      - /Users/choegeun-won/.gradle/caches/transforms-2/files-2.1/abed41eaf727cab8b3c673a507b70949/jetified-amazon-chime-sdk-media/jni
      - /Users/choegeun-won/.gradle/caches/transforms-2/files-2.1/a757ac2465979fc28d345006b900d808/jetified-react-native-0.66.3/jni
     If you are using jniLibs and CMake IMPORTED targets, see
     https://developer.android.com/r/tools/jniLibs-vs-imported-targets

Test environment Info (please complete the following information):

Additional context Add any other context about the problem here.