From a64ba192ed4c3463aedd9ce7f1eae2d41c3d7d72 Mon Sep 17 00:00:00 2001 From: "Christopher J. Brody" Date: Tue, 10 Jan 2023 14:23:00 -0500 Subject: [PATCH 1/2] refactor(build)!: drop Jelly Bean support as needed by NDK beyond outdated r23 ref: - https://github.com/android/ndk/wiki/Changelog-r24 --- README.md | 2 +- build.gradle | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d228424f..eb2b90fa 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ The latest AAR binary package information can be [here](https://www.zetetic.net/ ### Compatibility -SQLCipher for Android runs on Android from 4.1 (Jelly Bean), for `armeabi-v7a`, `x86`, `x86_64`, and `arm64_v8a` architectures. +SQLCipher for Android runs on Android from 4.4 (KitKat), for `armeabi-v7a`, `x86`, `x86_64`, and `arm64_v8a` architectures. ### Contributions diff --git a/build.gradle b/build.gradle index 050081d4..010c354f 100644 --- a/build.gradle +++ b/build.gradle @@ -58,7 +58,7 @@ ext { mavenDeveloperEmail = "support@zetetic.net" mavenDeveloperOrganization = "Zetetic LLC" mavenDeveloperUrl = "https://www.zetetic.net" - minimumAndroidSdkVersion = 16 + minimumAndroidSdkVersion = 19 minimumAndroid64BitSdkVersion = 21 targetAndroidSdkVersion = 26 compileAndroidSdkVersion = 26 From a0d8b3a50d3c30841d024ec0352d978be8a3f2fb Mon Sep 17 00:00:00 2001 From: "Christopher J. Brody" Date: Tue, 10 Jan 2023 14:24:02 -0500 Subject: [PATCH 2/2] docs: update recommended NDK -> r25b (LTS) ref: - https://developer.android.com/ndk/downloads - https://github.com/android/ndk/wiki/Changelog-r25 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index eb2b90fa..9aaf0b91 100644 --- a/README.md +++ b/README.md @@ -137,7 +137,7 @@ For applications which utilize ProGuard, a few additional rules must be included ### Building -In order to build `android-database-sqlcipher` from source you will need both the Android SDK, Gradle, Android NDK, SQLCipher core source directory, and an OpenSSL source directory. We currently recommend using Android NDK LTS version `23.0.7599858`. +In order to build `android-database-sqlcipher` from source you will need both the Android SDK, Gradle, Android NDK, SQLCipher core source directory, and an OpenSSL source directory. We currently recommend using Android NDK LTS version `25.1.8937393` (r25b). To complete the `make` command, the `ANDROID_NDK_HOME` environment variable must be defined which should point to your NDK root. Once you have cloned the repo, change directory into the root of the repository and run the following commands: