Skip to content

Cannot build on Android #176

Description

@zabojad

I'm getting this error:

Execution failed for task ':app:mergeDebugNativeLibs'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.MergeNativeLibsTask$MergeNativeLibsTaskWorkAction
   > 2 files found with path 'lib/arm64-v8a/libreact_nativemodule_core.so' from inputs:
      - /Users/me/my-proj/node_modules/react-native-nitro-sqlite/android/build/intermediates/library_jni/debug/copyDebugJniLibsProjectOnly/jni/arm64-v8a/libreact_nativemodule_core.so
      - /Users/me/.gradle/caches/8.8/transforms/d7707abf8a129cea02d85e737debfd11/transformed/jetified-react-android-0.75.4-debug/jni/arm64-v8a/libreact_nativemodule_core.so
     If you are using jniLibs and CMake IMPORTED targets, see
     https://developer.android.com/r/tools/jniLibs-vs-imported-targets

I'm using:

"react": "18.3.1",
"react-native": "0.75.4",
"react-native-nitro-modules": "^0.25.2",
"react-native-nitro-sqlite": "^9.1.8",

Any idea?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions