[graphics/krita/krita/6.0] /: [android] Bump SDK version to 36 (Android 16)

Carsten Hartenfels null at kde.org
Thu Aug 27 15:56:03 BST 2026


Git commit 07dddda825cf937c7c8d8955fd2a95d9f9b0f987 by Carsten Hartenfels.
Committed on 27/08/2026 at 14:55.
Pushed by hartenfels into branch 'krita/6.0'.

[android] Bump SDK version to 36 (Android 16)

The minimum/native SDK level stays at 24, as before.

You must update your Docker container and your dependencies to keep
building Krita on Android after this commit. Specifically:

* You need 'build-tools;36.0.0' and 'platforms;android-36' from the
  Android SDK. The previous container only has 35 versions of this.

* krita-deps-management/tools/android-toolchain.cmake needs to have its
  KRITA_ANDROID_SDK_API_LEVEL bumped from 35 to 36.

* qtbase needs a patch to work around the edge-to-edge enforcement,
  otherwise Krita will spill underneath your camera notch and behind
  system bars if not in full-screen.

CC:kimageshop at kde.org

M  +1    -1    CMakeLists.txt
M  +2    -2    packaging/android/apk/build.gradle

https://invent.kde.org/graphics/krita/-/commit/07dddda825cf937c7c8d8955fd2a95d9f9b0f987

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 8fe2e40afd4..3659f91e18e 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1711,7 +1711,7 @@ feature_summary(WHAT ALL FATAL_ON_MISSING_REQUIRED_PACKAGES)
 
 if (ANDROID)
   # ECM passes this to Qt, which was already capable of detecting it..
-  set (ANDROID_SDK_COMPILE_API "35")
+  set (ANDROID_SDK_COMPILE_API "36")
 
   # To assist stdcpp-path in deployment.json file
   set(ANDROID_SYSROOT_PREFIX "${ANDROID_TOOLCHAIN_ROOT}/sysroot/usr" CACHE STRING "" FORCE)
diff --git a/packaging/android/apk/build.gradle b/packaging/android/apk/build.gradle
index 7485e1c67ab..c77754b926c 100644
--- a/packaging/android/apk/build.gradle
+++ b/packaging/android/apk/build.gradle
@@ -206,11 +206,11 @@ android {
         // even though buildToolsVersion is deprecated,
         // we should still explicitly state it. Otherwise,
         // AGP will use the default one
-        buildToolsVersion "35.0.0"
+        buildToolsVersion "36.0.0"
 
         ndkVersion "27.3.13750724"
 
-        targetSdkVersion 35
+        targetSdkVersion 36
         minSdkVersion 24
         versionCode project.ext.constant * 1000000 + versionMajor * 10000 + versionMinor * 100 + versionRelease
         versionName "5.3.4-prealpha"


More information about the kimageshop mailing list