Skip to content

Commit 0625c8e

Browse files
Actually fix the 16K alignment problem
1 parent feba9be commit 0625c8e

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

android/app/build.gradle

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,20 @@ android {
9696
}
9797
}
9898
}
99+
100+
packagingOptions {
101+
// Add these lines to handle 16KB page size issue
102+
jniLibs {
103+
useLegacyPackaging = true
104+
}
105+
106+
// Exclude problematic libraries if needed
107+
exclude "lib/arm64-v8a/libjdns_sd.so"
108+
exclude "lib/arm64-v8a/libjdns_sd_embedded.so"
109+
exclude "lib/x86_64/libjdns_sd.so"
110+
exclude "lib/x86_64/libjdns_sd_embedded.so"
111+
}
112+
99113
signingConfigs {
100114
debug {
101115
storeFile file('debug.keystore')
@@ -112,6 +126,7 @@ android {
112126
}
113127
}
114128
}
129+
115130
buildTypes {
116131
debug {
117132
signingConfig signingConfigs.debug

0 commit comments

Comments
 (0)