Automate Android & Java SDK setup - #121849
Conversation
6941810 to
f7218b5
Compare
This doesn't seems like the right place for this button. Or, we can also go with the approach we had discussed:
|
0316cb0 to
9e543e0
Compare
Both the Suggestions for other locations are welcomed though. And I welcome input from the @godotengine/usability team. |
|
I'm running into errors extracting the Java SDK when testing on Windows.. Will dig into the issue tomorrow. |
9e543e0 to
a1e8c10
Compare
| "build-tools/35.0.1", | ||
| "platforms/android-35", |
There was a problem hiding this comment.
Should we be updating to version 36 of the build tools and platform?


What problem(s) does this PR solve?
This PR introduces the
AndroidSdkManagerclass which is used to automate the download, setup and management of the Android and Java SDK in the Godot editor.AndroidSdkManagerdownloads and uses the Android CLI to query, set up and update the Android SDK packages used by the Godot editor.AndroidSdkManagerchecks for the presence of a valid Java SDK at the path specified in the Editor Settings, and if missing, it downloads and sets up a version of the Java SDK from https://adoptium.net/.Screen.Recording.2026-07-28.at.12.31.25.AM.mov
The feature is made available in the Export Template Manager via the addition of a new
Setup Android SDKbutton.Advanced users still have the ability to set up and configure the Android and/or Java SDK on their own if desired.
The feature was tested on MacOs.
Remaining TODOs: