-
-
Notifications
You must be signed in to change notification settings - Fork 21.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ANDROID_SDK_ROOT is deprecated, use ANDROID_HOME instead #80910
Comments
Should just be replacing all instances of Will open a pr upon confirmation. |
For reference, On the other hand, the Android export plugin already uses godot/platform/android/export/export_plugin.cpp Line 2879 in 6758a7f
|
Note that the Android SDK & the MAUI check tool (used for MAUI and Avalonia) for example, does not require the path to be strictly of the root, they may also check for the presence of an additional folder called |
Had some issues building because of just that 👍🏽 godot/platform/android/detect.py Line 46 in 6758a7f
|
Feel free to open a PR for this, but please keep reading |
Godot version
all | 6758a7f
System information
Windows 10 21H2
Issue description
Building export templates with scons requires user to define the
ANDROID_SDK_ROOT
variable, which has been made deprecated long ago,ANDROID_HOME
should be used instead.This will avoid people having to figure out why android isn't considered a valid platform when having a proper setup.
see this section | fallback
They may not check for
ANDROID_SDK_ROOT
in the future, so it's advised to use this newer variable instead.Steps to reproduce
N/A
Minimal reproduction project
N/A
The text was updated successfully, but these errors were encountered: