From df80e201b631b7ce127559be3906576a39a7cbbd Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Sat, 13 Feb 2021 02:00:17 +0100 Subject: [PATCH] Discourage using Linux distribution packages for Android SDKs (#4636) See https://github.com/godotengine/godot/issues/45844. --- development/compiling/compiling_for_android.rst | 2 ++ getting_started/workflow/export/exporting_for_android.rst | 5 +++++ 2 files changed, 7 insertions(+) diff --git a/development/compiling/compiling_for_android.rst b/development/compiling/compiling_for_android.rst index a2b6174d7..3d017ccf8 100644 --- a/development/compiling/compiling_for_android.rst +++ b/development/compiling/compiling_for_android.rst @@ -27,6 +27,8 @@ For compiling under Windows, Linux or macOS, the following is required: (command-line tools are sufficient). - Required SDK components will be automatically installed by Gradle (except the NDK). + - On Linux, + **do not use an Android SDK provided by your distribution's repositories as it will often be outdated**. - `Android NDK `_ r17 or later. - Gradle (will be downloaded and installed automatically if missing). diff --git a/getting_started/workflow/export/exporting_for_android.rst b/getting_started/workflow/export/exporting_for_android.rst index 9e673e79b..5328c086b 100644 --- a/getting_started/workflow/export/exporting_for_android.rst +++ b/getting_started/workflow/export/exporting_for_android.rst @@ -21,6 +21,11 @@ Download and install the Android SDK from If you install Android Studio, you need to run it once to complete the SDK setup. +.. note:: + + If you are using Linux, + **do not use an Android SDK provided by your distribution's repositories as it will often be outdated**. + Install OpenJDK 8 -----------------