Search Issue Tracker
Active
Votes
0
Found in
2021.3.4f1
2022.1.0a1
2022.1.0b3
Issue ID
UUM-3680
Regression
No
[Linux] OpenJDK downloaded through Hub 3 beta 7 is is not sufficient to build Android on Ubuntu 18.04
Repro steps:
1. Install Android module with all the components
2. Create a new project
3. Open the Build Settings Window
4. Select the Android Built Target
Expected: No errors appear in the Console
Actual: Errors start spamming in the Console
Reproducible with: 2022.1.0a1, 2022.1.0b3
Notes:
- Reproduced this with UnityHub 3.0.0-beta.7
Comments (1)
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
- PlayerPrefs get corrupted when a minimized fullscreen Player is closed through the Taskbar
- "To Debug, run app with -diag-job-temp-memory-leak-validation cmd line argument. This will output the callstacks of the leaked allocations." warning is printed when JobTempMemoryLeakValidation switch is enabled
- Main Thread stalling when loading Audio Source asset asynchronously while preloading another Audio Source asset
- Material artifacts occur in the Material Preview window when baked lighting is applied to scenes
- Package Manager Filters (Status) dropdown is different color than Packages, Sort or Add package dropdowns
mgschwan
Jun 07, 2022 17:11
I am not sure if it is the same issue I had but it was not recognizing the OpenJDK I installed from UnityHub in 2021.3.3f1 even though it was installed in the right place.
The problem was that none of the binaries in
~/Unity/Hub/Editor/2021.3.3f1/Editor/Data/PlaybackEngines/AndroidPlayer/
had the executable permission.
So you have to make sure that all binaries are executable. And if you are lazy like me you will just make a
find -exec chmod +x {} \;
inside that folder. This will also fix the Android SDK binaries because those are the next ones you will run into once the OpenJDK is fixed.
But please be aware that this will also make all other files executable which is not the cleanest thing to do