Skip to content

Commit 6d08d9d

Browse files
committed
feat: exclude libc++ at brownie level
1 parent 7bf3ef9 commit 6d08d9d

2 files changed

Lines changed: 6 additions & 8 deletions

File tree

apps/AndroidApp/app/build.gradle.kts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -58,14 +58,6 @@ android {
5858
buildFeatures {
5959
compose = true
6060
}
61-
62-
// TODO: investigate why BGP does not handle it
63-
packagingOptions {
64-
pickFirst("lib/arm64-v8a/libc++_shared.so")
65-
pickFirst("lib/armeabi-v7a/libc++_shared.so")
66-
pickFirst("lib/x86/libc++_shared.so")
67-
pickFirst("lib/x86_64/libc++_shared.so")
68-
}
6961
}
7062

7163
dependencies {

packages/brownie/android/build.gradle

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,12 @@ android {
5555
prefab true
5656
}
5757

58+
packaging {
59+
jniLibs {
60+
excludes += ["**/libc++_shared.so"]
61+
}
62+
}
63+
5864
buildTypes {
5965
release {
6066
minifyEnabled false

0 commit comments

Comments
 (0)