Skip to content

Commit 32a4041

Browse files
authored
Merge pull request #11226 from Calinou/compiling-exporting-android-jdk-17-3.6
[3.6] Update required JDK version to 17 in Exporting/Compiling for Android
2 parents 50530ad + 47c8938 commit 32a4041

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

development/compiling/compiling_for_android.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@ For compiling under Windows, Linux or macOS, the following is required:
3636
**do not use an Android SDK provided by your distribution's repositories as it will often be outdated**.
3737

3838
- Gradle (will be downloaded and installed automatically if missing).
39-
- JDK 11 (either OpenJDK or Oracle JDK).
39+
- JDK 17 (either OpenJDK or Oracle JDK).
4040

41-
- You can download a build from `ojdkbuild <https://github.com/ojdkbuild/ojdkbuild>`_.
41+
- You can download a build from `Adoptium <https://adoptium.net/?variant=openjdk17>`_.
4242

4343
.. seealso:: To get the Godot source code for compiling, see
4444
:ref:`doc_getting_source`.
@@ -51,13 +51,13 @@ For compiling under Windows, Linux or macOS, the following is required:
5151
Setting up the buildsystem
5252
--------------------------
5353

54-
- Set the environment variable ``ANDROID_SDK_ROOT`` to point to the Android
54+
- Set the environment variable ``ANDROID_SDK_ROOT`` to point to the Android
5555
SDK. If you downloaded the Android command-line tools, this would be
5656
the folder where you extracted the contents of the ZIP archive.
5757

5858
- Install the necessary SDK components in this folder:
5959

60-
- Accept the SDK component licenses by running the following command
60+
- Accept the SDK component licenses by running the following command
6161
where ``android_sdk_path`` is the path to the Android SDK, then answering all the prompts with ``y``:
6262

6363
::
@@ -70,7 +70,7 @@ Setting up the buildsystem
7070

7171
tools/bin/sdkmanager --sdk_root=<android_sdk_path> "platform-tools" "build-tools;30.0.3" "platforms;android-29" "cmdline-tools;latest" "cmake;3.10.2.4988404"
7272

73-
.. seealso:: To set the environment variable on Windows, press :kbd:`Windows + R`, type
73+
.. seealso:: To set the environment variable on Windows, press :kbd:`Windows + R`, type
7474
"control system", then click on **Advanced system settings** in the left
7575
pane, then click on **Environment variables** on the window that appears.
7676

@@ -219,7 +219,7 @@ Android might complain the application is not correctly installed.
219219
If so:
220220

221221
- Check that the debug keystore is properly generated.
222-
- Check that the jarsigner executable is from JDK 8.
222+
- Check that the jarsigner executable is from JDK 17.
223223

224224
If it still fails, open a command line and run `logcat <https://developer.android.com/studio/command-line/logcat>`_:
225225

tutorials/export/exporting_basics.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ Before you can export your project for Android, you must download the following
336336
software:
337337

338338
* Android SDK: https://developer.android.com/studio/
339-
* Open JDK (**version 11 is required**, more recent versions won't work): https://adoptopenjdk.net/index.html
339+
* OpenJDK (**version 17 is required**, older or newer versions won't work): https://adoptopenjdk.net/index.html
340340

341341
When you run Android Studio for the first time, click on **Configure -> SDK Manager**
342342
and install **Android SDK Platform Tools**. This installs the ``adb``

0 commit comments

Comments
 (0)