From 9d5b509472c54270252f251b4320461fb1f3e41e Mon Sep 17 00:00:00 2001 From: Saleem Abdulrasool Date: Sun, 2 Nov 2025 11:05:06 -0800 Subject: [PATCH] build: default to Android API 28 Set the default value for Android API level to 28 which is the current recommendation as per the Android workgroup. --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index b35587ff0857e..b924df77960c1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -551,8 +551,8 @@ set(SWIFT_SDK_LINUX_ARCHITECTURES "" CACHE STRING # User-configurable Android specific options. # -set(SWIFT_ANDROID_API_LEVEL "" CACHE STRING - "Version number for the Android API") +set(SWIFT_ANDROID_API_LEVEL "28" CACHE STRING + "Version number for the Android API (default: 28)") set(SWIFT_ANDROID_NDK_PATH "" CACHE STRING "Path to the directory that contains the Android NDK tools that are executable on the build machine")