I installed Unity 2019.1.5f1 , and I am using Firebase. When I used Android Resolver there is this problem that says I need to set JAVA_HOME:
*Gradle failed to fetch dependencies.
...
ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.*
As far as I know Unity is using OpenJDK which is fine by me, but how to I set the JAVA_HOME using the OpenJDK? I don't even know where it is located. How do I set the JAVA_HOME variable using OpenJDK?
↧