From d2d8659f87718bb1fafdc948d9280a9b36059429 Mon Sep 17 00:00:00 2001 From: George Marques Date: Tue, 8 Jan 2019 10:17:39 -0200 Subject: [PATCH] Explain the need to set ANDROID_NDK_HOME env var (#2100) (cherry picked from commit d5a383b631184849e1422794a8581a5de811865b) --- development/compiling/compiling_for_android.rst | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/development/compiling/compiling_for_android.rst b/development/compiling/compiling_for_android.rst index 83597de07..97a9c5af7 100644 --- a/development/compiling/compiling_for_android.rst +++ b/development/compiling/compiling_for_android.rst @@ -55,7 +55,10 @@ with ``y``: Set the environment variable ``ANDROID_NDK_ROOT`` to point to the -Android NDK. +Android NDK. You also might need to set the variable ``ANDROID_NDK_HOME`` +to the same path, especially if you are using custom Android modules, +since some Gradle plugins rely on the NDK and use this variable to +determine its location. To set those environment variables on Windows, press **Windows + R**, type "control system", then click on **Advanced system settings** in the left