Skip to content

Commit c75bf73

Browse files
committed
Bump Android NDK version to r29
Update Android NDK references from r27/r27c to r29 across the build scripts and docs. Changes update android/README.md, set NDK_VERSION=r29 in android/android-env.sh, and adjust the ndk_version in android/patches/3.13_pending.patch to 29.0.14206865 so builds use the newer NDK.
1 parent 52ee1ce commit c75bf73

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

android/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Scripts and CI jobs for building Python 3 for Android.
44

55
* Can be run on both Linux and macOS.
66
* Build Python 3.12 - specific or the last minor version.
7-
* Installs NDK r26d or use pre-installed one with path configured by `NDK_HOME` variable.
7+
* Installs NDK r29 or use pre-installed one with path configured by `NDK_HOME` variable.
88
* Creates Python installation with a structure suitable for https://github.com/flet-dev/mobile-forge
99

1010
## Usage
@@ -30,4 +30,4 @@ Based on the work from:
3030
* https://github.com/chaquo/chaquopy/tree/master/target
3131
* https://github.com/beeware/Python-Android-support
3232
* https://github.com/beeware/cpython-android-source-deps
33-
* https://github.com/GRRedWings/python3-android
33+
* https://github.com/GRRedWings/python3-android

android/android-env.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
: ${api_level:=24} # Minimum Android API level the build will run on
66
: ${PREFIX:-} # Path in which to find required libraries
77

8-
NDK_VERSION=r27c
8+
NDK_VERSION=r29
99

1010
# Print all messages on stderr so they're visible when running within build-wheel.
1111
log() {

android/patches/3.13_pending.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ index 93372e3fe1c..94712602a23 100644
77
# where XX is the NDK version. Do a diff against the version you're upgrading from, e.g.:
88
# https://android.googlesource.com/platform/ndk/+/ndk-r25-release..ndk-r26-release/docs/BuildSystemMaintainers.md
99
-ndk_version=26.2.11394342
10-
+ndk_version=27.1.12297006
10+
+ndk_version=29.0.14206865
1111

1212
ndk=$ANDROID_HOME/ndk/$ndk_version
1313
if ! [ -e $ndk ]; then

0 commit comments

Comments
 (0)