Sfoglia il codice sorgente

Add section on platform not appearing in SCons in Compiling for Android

This closes #3361.
Hugo Locurcio 5 anni fa
parent
commit
087835e400
1 ha cambiato i file con 11 aggiunte e 0 eliminazioni
  1. 11 0
      development/compiling/compiling_for_android.rst

+ 11 - 0
development/compiling/compiling_for_android.rst

@@ -38,6 +38,8 @@ For compiling under Windows, Linux or macOS, the following is required:
 .. seealso:: For a general overview of SCons usage for Godot, see
              :ref:`doc_introduction_to_the_buildsystem`.
 
+.. _doc_android_setting_up_the_buildsystem:
+
 Setting up the buildsystem
 --------------------------
 
@@ -197,6 +199,15 @@ referenced.
 Troubleshooting
 ---------------
 
+Platform doesn't appear in SCons
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+Double-check that you've set both the ``ANDROID_HOME`` and ``ANDROID_NDK_ROOT``
+environment variables. This is required for the platform to appear in SCons'
+list of detected platforms.
+See :ref:`Setting up the buildsystem <doc_android_setting_up_the_buildsystem>`
+for more information.
+
 Application not installed
 ~~~~~~~~~~~~~~~~~~~~~~~~~