[packaging/craft] /: Default to Android API level 28

Volker Krause <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit a7c3f639b3a84d2033c76857ad151e34df6133c9 by Volker Krause.
Committed on 07/08/2026 at 05:22.
Pushed by vkrause into branch 'master'.

Default to Android API level 28

That's what we are needing for Qt 6.11 and what's in use on the CI.

M  +2    -2    CraftSettings.ini.template
M  +1    -1    bin/CraftCompiler.py

https://invent.kde.org/packaging/craft/-/commit/a7c3f639b3a84d2033c76857ad151e34df6133c9

diff --git a/CraftSettings.ini.template b/CraftSettings.ini.template
index 42f702bb6..30b9d023c 100644
--- a/CraftSettings.ini.template
+++ b/CraftSettings.ini.template
@@ -26,8 +26,8 @@ ABI = windows-cl-msvc2019-x86_64
 ## https://github.com/qt/qtbase/blob/b598087455b2113c63fe74079082b0f8022f2d0d/.cmake.conf#L54
 #MacDeploymentTarget = 13
 
-## Minimum supported Android API level (default: 21)
-AndroidAPI = 21
+## Minimum supported Android API level (default: 28)
+AndroidAPI = 28
 ## KDE Frameworks version (for selecting the host tooling)
 KFHostToolingVersion = 5
 ## Path in which the host tooling is installed for Android builds
diff --git a/bin/CraftCompiler.py b/bin/CraftCompiler.py
index 181ed9946..35a928cea 100644
--- a/bin/CraftCompiler.py
+++ b/bin/CraftCompiler.py
@@ -189,7 +189,7 @@ class CraftCompiler(object):
         if self.isMSVC():
             self._MSVCToolset = CraftCore.settings.get("General", "MSVCToolset", "")
         if self.isAndroid:
-            self._apiLevel = CraftCore.settings.get("General", "AndroidAPI", 21)
+            self._apiLevel = CraftCore.settings.get("General", "AndroidAPI", 28)
 
     def __str__(self):
         return str(self.signature)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.