Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AngelKrak/cd3edb6d76b816d94078c4daaaef72f2 to your computer and use it in GitHub Desktop.
Save AngelKrak/cd3edb6d76b816d94078c4daaaef72f2 to your computer and use it in GitHub Desktop.
2 files found with path 'lib/arm64-v8a/libc++_shared.so' from inputs: - If you are using jniLibs and CMake IMPORTED targets, see

Errors:

Description:

  2 files found with path 'lib/arm64-v8a/libc++_shared.so' from inputs:
  - /Users/username/.gradle/caches/transforms-3/867141dd00dd9221e01e5c82748f2a99/transformed/jetified-react-native-0.71.0-rc.0-debug/jni/arm64-v8a/libc++_shared.so
  - /Users/username/.gradle/caches/transforms-3/402164579eac94d3279c98f4a43eb5d8/transformed/jetified-fbjni-0.3.0/jni/arm64-v8a/libc++_shared.so

Tasks:

  • Execution failed for task ':app:mergeDebugNativeLibs'.

Instrucciones:

Agregar en el siguiente archivo "/android/app/build.gradle" dentro de "android" y al final de toda la configuración, lo siguiente:

Agregar todos los modulos existentes - Recomendado.

android {
  ...
  packagingOptions {
    pickFirst '**/*.so'
  }
}

Esto solo para agregar manualmente los requeridos.

android {
  ...
  packagingOptions {
    pickFirst '**/libc++_shared.so'
    pickFirst '**/libfbjni.so'
  }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment