Search Issue Tracker

Fixed in 2021.1

Planned for 2019.4, 2020.2

Votes

2

Found in

2020.1.12f1

Issue ID

1290206

Regression

No

[Android][Windows] Getting "Unable to install additional SDK" when Java is NOT installed onto windows machine

Android

-

To reproduce:
1. Make sure that Unity is installed in a directory that requires admin rights to edit e.g. C:/ disk
2. Run this command:

"C:*Unity install dir*\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\tools\bin\sdkmanager.bat" --uninstall "platforms;android-30"

3. Delete Java if already installed on the machine
4. Create a new project
5. Switch to Android platform
6. In Project Settings set Target API Level to 30
7. Try to Build and Run to an android device

Expected: the API level is installed or a warning that no Java is install is thrown
Actual: getting an error in the console, API level is not installed, build fails

Reproduced on:
2020.1.12f1

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.