Skip to content

Commit 7327f3f

Browse files
Upgrade NDK to 26.1 to match major versions with pdf2htmlEX and wvWare
1 parent 6875816 commit 7327f3f

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

app/build.gradle

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ apply plugin: 'com.google.firebase.crashlytics'
44

55
android {
66
compileSdkVersion 33
7-
ndkVersion "25.2.9519653"
7+
ndkVersion "26.1.10909125"
88

99
defaultConfig {
1010
applicationId "at.tomtasche.reader"
@@ -86,7 +86,11 @@ android {
8686
}
8787
packagingOptions {
8888
jniLibs {
89-
pickFirsts += ['lib/armeabi-v7a/libc++_shared.so', 'lib/arm64-v8a/libc++_shared.so', 'lib/x86/libc++_shared.so', 'lib/x86_64/libc++_shared.so']
89+
// No need to pickFirst libc++_shared.so if all files are identical.
90+
// They will be identical if NDK major version matches.
91+
// NDK runtime problems may occur if NDK version mismatches,
92+
// so comment this out, to get a compile error instead
93+
// pickFirsts += ['**/libc++_shared.so']
9094
}
9195
}
9296
namespace 'at.tomtasche.reader'

0 commit comments

Comments
 (0)