summaryrefslogtreecommitdiffstats
path: root/platform/android/export/export.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2023-11-02 09:12:19 +0100
committerRémi Verschelde <rverschelde@gmail.com>2023-11-02 09:12:19 +0100
commitda0b1eb128a522bbef083b9f2a5cc2da6917c3d8 (patch)
treeb57e1bed09e22f8177eba5e6266d615417eb1d30 /platform/android/export/export.cpp
parent95b8a75aafebecbb6e0fc116078680c0d9e3e814 (diff)
parenta1ca4bab47741e7dda8002ef96c4c60f118398c6 (diff)
downloadredot-engine-da0b1eb128a522bbef083b9f2a5cc2da6917c3d8.tar.gz
Merge pull request #84316 from m4gr3d/update_android_env_variables
Replace the use of the `ANDROID_SDK_ROOT` env variable with `ANDROID_HOME`
Diffstat (limited to 'platform/android/export/export.cpp')
-rw-r--r--platform/android/export/export.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/android/export/export.cpp b/platform/android/export/export.cpp
index 9f9a653cf1..ee1ec2790d 100644
--- a/platform/android/export/export.cpp
+++ b/platform/android/export/export.cpp
@@ -42,7 +42,7 @@ void register_android_exporter_types() {
void register_android_exporter() {
#ifndef ANDROID_ENABLED
- EDITOR_DEF("export/android/android_sdk_path", OS::get_singleton()->get_environment("ANDROID_SDK_ROOT"));
+ EDITOR_DEF("export/android/android_sdk_path", OS::get_singleton()->get_environment("ANDROID_HOME"));
EditorSettings::get_singleton()->add_property_hint(PropertyInfo(Variant::STRING, "export/android/android_sdk_path", PROPERTY_HINT_GLOBAL_DIR));
EDITOR_DEF("export/android/debug_keystore", "");
EditorSettings::get_singleton()->add_property_hint(PropertyInfo(Variant::STRING, "export/android/debug_keystore", PROPERTY_HINT_GLOBAL_FILE, "*.keystore,*.jks"));