Skip to content

Commit 81bbc87

Browse files
committed
set ndk version explicitly for gradle-built projects with jni
1 parent ad01f1a commit 81bbc87

2 files changed

Lines changed: 7 additions & 3 deletions

File tree

src/java/KP2AKdbLibrary/app/build.gradle

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,18 @@ android {
44

55
namespace 'keepass2android.kp2akeytransform'
66

7+
// Explicit NDK version used for ndk-build
8+
ndkVersion "28.2.13676358"
79

10+
compileSdk 34
811

912
defaultConfig {
10-
ndk.abiFilters 'armeabi-v7a','arm64-v8a','x86','x86_64'
1113
minSdkVersion 21
1214
targetSdkVersion 34
13-
compileSdk 34
1415

16+
ndk {
17+
abiFilters 'armeabi-v7a', 'arm64-v8a', 'x86', 'x86_64'
18+
}
1519
}
1620

1721
buildTypes {

src/java/KP2ASoftkeyboard_AS/app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ android {
33

44
namespace 'keepass2android.softkeyboard'
55

6-
6+
ndkVersion "28.2.13676358"
77

88
defaultConfig {
99
minSdkVersion 21

0 commit comments

Comments
 (0)