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
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
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Shader error db grows on each build
- Android ARCore build fails with 2019.4 due to outdated Gradle
- [tvOS] Visual artifacts are present when Ambient Occlusion is enabled and Dynamic Resolution is reduced
- Texture Importer Inspector throws errors when a built-in texture inspector is overwritten in C#
- Invalid AABB error is thrown when moving a Particle with Velocity over Lifetime and Limit Velocity over Lifetime modules
Add comment