-
Notifications
You must be signed in to change notification settings - Fork 48
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 installer does not download the SDK, NDK and OpenJDK folders to PlaybackEngines/AndroidPlayer #239
Comments
UnitySetup predates UnityHub and discovers downloads by scanning the releases websites, downloads the components and invokes them itself. The Unity installer used to bundle the Android tools in with the component, but that was split at some point to avoid duplicates of the tools if you don't need them (you can set the paths for you Android build tools inside Unity). I'd love to install the Android tools from UnitySetup, but installing Android requires accepting the license agreement and I'm not sure how best to go about that in an automated fashion that doesn't run afoul of some policy so I've avoided it so far. Open to ideas though! |
So I know UnitySetup predates the UnityHub, but can it use the UnityHub? Apparently, "Unity Hub.exe" has a bunch of commands. I just got this in email when I complained to Unity that wasn't a way to headlessly install Android JDK/SDK/NDK tools:
Is the Hub installed with the Unity installation? Could Android be added on after the original install? |
I think moving to UnityHub would be a great change, but also a large one that will need lots of testing for all the use cases included in UnitySetup, e.g. the DSC resources. I'm not sure if the Hub comes along with Unity if it's installed with UnitySetup, we'd have to test that from a clean machine. I suspect Android could be installed after the original install, but it'd be another thing to test. |
Same problem, my android build requires NDK and installing via following wont install NDK |
Installing the Android module with Unity Hub and
Install-UnitySetupInstance
yield different results. Notably, the following folders are missing inEditor\Data\PlaybackEngines\AndroidPlayer
with the latter:Repro:
Find-UnitySetupInstaller -Version '2020.3.37f1' -Components 'Windows','Android' | Install-UnitySetupInstance
The text was updated successfully, but these errors were encountered: