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
- Character spacing value is not applied when using a specific font asset
- [Android][IL2CPP] Player crashes on __memcpy_aarch64_simd+276 when invoking native code via a plugin on some ARM64 Android devices
- [Android]Resources fail to load when the AAB build contains a large Addressables Bundle
- Unity is loading internal version of SharpZipLib instead of local version
- The Context Menu items are ordered incorrectly
This is a duplicate of issue #1399290