Search Issue Tracker
Duplicate
Votes
0
Found in
2020.3.33f1
2021.3
2022.1
2022.2
Issue ID
1421340
Regression
No
Android platform yields Win32Exception and "JDK not found" errors when using Unity Hub on Linux
How to reproduce:
1. On Linux, use the Unity Hub to download Editors with Android build support
2. Create a new empty project
3. Go to File -> Build Settings
4. Select the Android platform
5. Observe the Console
6. Switch platform to Android
7. Attempt to build the project
Expected result: no errors are thrown when Android platform is selected, the project is successfully built
Actual result: errors are excessively thrown while the Android platform is selected (Win32Exception), the project cannot be built due to "JDK not found" error (Java Development Kit (JDK) directory is not set or invalid)
Reproducible with: 2021.3.2f1, 2022.1.0b16, 2022.2.0a12
Notes: reproducible on Ubuntu 20.04
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Shader Graph Asset icon is not shown on creation unless you confirm the name
- APV Sky occlusion doesn't consider the terrain
- [iOS] "EXC_BAD_ACCESS" Player crash when Script Debugging is enabled
- Cursor skips input fields when tabbing between two sets of input fields
- "Shader error redefinition of 'Varyings'" error appears when selecting the shader
This is a duplicate of issue #1399290