From 038981b911f9a0ada897e362a853e5a9cb53246d Mon Sep 17 00:00:00 2001 From: Malcolm Smith Date: Sun, 31 Aug 2025 19:47:14 +0100 Subject: [PATCH 1/3] Mention Android binary releases in documentation --- Doc/using/android.rst | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/Doc/using/android.rst b/Doc/using/android.rst index cb762310328f1c..d0979a57c153da 100644 --- a/Doc/using/android.rst +++ b/Doc/using/android.rst @@ -40,8 +40,14 @@ If you're sure you want to do all of this manually, read on. You can use the :source:`testbed app ` as a guide; each step below contains a link to the relevant file. -* Build Python by following the instructions in :source:`Android/README.md`. - This will create the directory ``cross-build/HOST/prefix``. +* Either: + + * Download an Android Python release from `python.org + `__, and extract the ``prefix`` + directory. + + * Or build it yourself by following the instructions in :source:`Android/README.md`. + This will create the directory ``cross-build/HOST/prefix``. * Add code to your :source:`build.gradle ` file to copy the following items into your project. All except your own Python From 7be85672b175533146565fffd83c4cf77dac707b Mon Sep 17 00:00:00 2001 From: Malcolm Smith Date: Mon, 1 Sep 2025 11:57:24 +0100 Subject: [PATCH 2/3] Clarifications --- Doc/using/android.rst | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/Doc/using/android.rst b/Doc/using/android.rst index d0979a57c153da..edfa70f5c7191c 100644 --- a/Doc/using/android.rst +++ b/Doc/using/android.rst @@ -40,14 +40,15 @@ If you're sure you want to do all of this manually, read on. You can use the :source:`testbed app ` as a guide; each step below contains a link to the relevant file. -* Either: +* First, acquire a build of Python for Android: - * Download an Android Python release from `python.org - `__, and extract the ``prefix`` - directory. + * The easiest way is to download an Android release from `python.org + `__. The ``prefix`` directory + mentioned below is at the top level of the package. - * Or build it yourself by following the instructions in :source:`Android/README.md`. - This will create the directory ``cross-build/HOST/prefix``. + * Or if you want to build it yourself, follow the instructions in + :source:`Android/README.md`. The ``prefix`` directory will be created under + ``cross-build/HOST``. * Add code to your :source:`build.gradle ` file to copy the following items into your project. All except your own Python From 4ea6eb20163934d1b13995c778230c6be3b1cb68 Mon Sep 17 00:00:00 2001 From: Russell Keith-Magee Date: Thu, 18 Sep 2025 14:18:06 +0100 Subject: [PATCH 3/3] Correct an example to make it clear there's a placeholder. Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> --- Doc/using/android.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/using/android.rst b/Doc/using/android.rst index edfa70f5c7191c..45345d045ddfd9 100644 --- a/Doc/using/android.rst +++ b/Doc/using/android.rst @@ -48,7 +48,7 @@ link to the relevant file. * Or if you want to build it yourself, follow the instructions in :source:`Android/README.md`. The ``prefix`` directory will be created under - ``cross-build/HOST``. + :samp:`cross-build/{HOST}`. * Add code to your :source:`build.gradle ` file to copy the following items into your project. All except your own Python