From 4db41b68b9877b248a9f52573025a791cce62419 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kr=C3=A6n=20Hansen?= Date: Mon, 4 Nov 2024 09:26:39 +0100 Subject: [PATCH 1/2] Exclude libreactnative.so to prevent duplicate files --- packages/realm/binding/android/build.gradle | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/realm/binding/android/build.gradle b/packages/realm/binding/android/build.gradle index f26be70c57..203737e115 100644 --- a/packages/realm/binding/android/build.gradle +++ b/packages/realm/binding/android/build.gradle @@ -103,6 +103,7 @@ android { "**/libjsi.so", "**/libreactnativejni.so", "**/libturbomodulejsijni.so", + "**/libreactnative.so", ] } } From 785dcee457fd88d8a11e8769d2a9ecc1ee01bc15 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kr=C3=A6n=20Hansen?= Date: Mon, 4 Nov 2024 09:28:11 +0100 Subject: [PATCH 2/2] Adding a note to the changelog --- CHANGELOG.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3ce1cba826..5bd405df06 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,8 +7,7 @@ * None ### Fixed -* ([#????](https://github.com/realm/realm-js/issues/????), since v?.?.?) -* None +* Fix build failure from duplicate libreactnative.so files. I.e. "2 files found with path 'lib/arm64-v8a/libreactnative.so' from inputs" ([#6918](https://github.com/realm/realm-js/issues/6918), since v12.13.2) ### Compatibility * React Native >= v0.71.4