Skip to content

Commit ca06237

Browse files
chrispaderalshberi
andauthored
Fix: Android build fails due to duplicate *.so files (#71)
Co-authored-by: Abdulghani Alshberi <[email protected]>
1 parent d1d6409 commit ca06237

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

package/android/build.gradle

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,26 @@ android {
9191
}
9292
}
9393
}
94+
95+
packagingOptions {
96+
excludes = [
97+
"META-INF",
98+
"META-INF/**",
99+
"**/libc++_shared.so",
100+
"**/libfbjni.so",
101+
"**/libjsi.so",
102+
"**/libfolly_json.so",
103+
"**/libfolly_runtime.so",
104+
"**/libglog.so",
105+
"**/libhermes.so",
106+
"**/libhermes-executor-debug.so",
107+
"**/libhermes_executor.so",
108+
"**/libreactnativejni.so",
109+
"**/libturbomodulejsijni.so",
110+
"**/libreact_nativemodule_core.so",
111+
"**/libjscexecutor.so"
112+
]
113+
}
94114
}
95115

96116
repositories {

0 commit comments

Comments
 (0)