Hi. From Unity 2023.3.0b7, Android build need Java 17, see release note:
- Android: JDK 17 is required to build Android apps.
But UnityHub installs OpenJDK 11 so all of Android builds are failed due to invalid JDK version when using embedded OpenJDK.
Hi. From Unity 2023.3.0b7, Android build need Java 17, see release note:
But UnityHub installs OpenJDK 11 so all of Android builds are failed due to invalid JDK version when using embedded OpenJDK.
Same here
Any updates to fixing this ?
Sorry you are experiencing this issue. We are working on fixing it by releasing a new Hub version that includes these new JDK changes.
In the meantime, please download the JDK manually for your system:
Once downloaded and unzipped, go to Unity Preferences > External Tools and change the JDK path to the JDK folder you have just downloaded.
Also appears that the SDK required is not installed by the HUB
SDK Platform Tools version 33.0.1 < 34.0.0.
so the Build still does not work with the JDK as above.
IS there a new SDK as well please ?
Make sure you press “Update Android SDK” if this popup appears:
Only this pops up…
and when you click Update Android SDK…
“UnauthorizedAccessException: Access to the path ‘C:\Program Files\Unity\Hub\Editor\2023.3.0b7\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\tempToolsDir’ is denied.”
@ProfPivec @Kichang-Kim This issue should be fixed now. Restart the Unity Hub, and then reinstall Unity 2023.3.0b7. The new installation of Unity should come with the correct JDK version.
All now good. Thank you.