From 281b8a5477c089ce1b1da87f3f70b44dd3af3c35 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dawid=20Ma=C5=82ecki?= Date: Fri, 13 Dec 2024 14:02:34 +0100 Subject: [PATCH] Fix: debug build for tests (#3283) ## Description Fixes #3232 As stated in the [comment](https://github.com/software-mansion/react-native-gesture-handler/blob/main/android/build.gradle#L149-L152) gradle complains about duplicated versions of libraries. Excluding `libc++_shared.so` seems to solve the problem. ## Test plan In android directory run: `./gradlew assembleDebug assembleAndroidTest -DtestBuildType=debug` Tested on new/old architecture with/without expo. --- android/build.gradle | 1 + 1 file changed, 1 insertion(+) diff --git a/android/build.gradle b/android/build.gradle index 9931942558..4276d755a0 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -153,6 +153,7 @@ android { exclude "**/libreact_render*.so" exclude "**/libreactnative.so" exclude "**/libjsi.so" + exclude "**/libc++_shared.so" } sourceSets.main {