Hi,
I am getting No Java runtime present, requesting install. when i try to build my project.(Android Project)
Few hours ago it build perfectly even now i can build newly created project (i have tested to check whether its a problem in unity version)
only different i can thing about is i have added “Project Key” (in publish settings) and added google AdMob lib.
my unity version is 2019.3.7f
this is how i set jdk in .bash_profile(macos mojave)
export JAVA_HOME=/Applications/Unity/Hub/Editor/2019.3.7f1/PlaybackEngines/Andr$
export PATH=$JAVA_HOME/bin:$PATH
And this is the Error Log
No Java runtime present, requesting install.
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr) (at /Users/builduser/buildslave/unity/build/Modules/IMGUI/GUIUtility.cs:187)
CommandInvokationFailure: Failed to update Android SDK package list.
/Applications/Unity/Hub/Editor/2019.3.7f1/PlaybackEngines/AndroidPlayer/SDK/tools/bin/sdkmanager --list
stderr[
No Java runtime present, requesting install.
]
stdout[
]
exit code: 1
Build completed with a result of 'Failed' in 3 seconds (3381 ms)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr) (at /Users/builduser/buildslave/unity/build/Modules/IMGUI/GUIUtility.cs:187)
Please help me to resolve this