If you still need to use Java 11, use an alternative build like the one from AdoptOpenJDK. You can still get the archived version, but this is not recommended because it doesn’t include any new security patches. At least it built in my case.At this time, Java 11, the long term release or LTS, of Java is no longer supported on the OpenJDK website. You Android build should be done after that (apk or aab). If you get a warning about obsolete Android SDK, click on Update SDK button.ġ3. Come back to Unity Editor and try to build the project.ġ2. Do so if you see a warning about it in Unity Editorġ1. You may need to restart the PC to take these variables into effect. Add JAVA_HOME variables in both Users and System variables section. ![]() Copy the OpenJDK path from Preferences > External Tools.ġ0 Go to Windows Environment Variables. Locate your project in Unity Hub and click to load it in Unity Editor.ĩ. Expand it and select both sub-options SDK, NDK and OpenJDK.Ĩ. Then select this installation in the Hub and select Add Module. Add Unity Editor - 2020.3.20f1 release but DO NOT select Android module. Start Unity Hub - 2.4.5 as "Run as Administrator".Ĥ. This is the version which solved my issue.ģ. I have installed it first and problem has started from there. ![]() Disable any anti virus before installing Unity Hub or Unity Editor. After running pillar to post and reading hundreds of posts on many forums, I was able to resolve the issue.ġ. ![]() I believe many people might be facing this issue.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |