Hi Team
I need some help, i have installed jdk 8 and when run command on CMD java -version it shows jdk1.8. Then i want to launch an Emulator on Android Studio, got this following error. What are the necessary steps to fix this?
FAILURE: Build failed with an exception. * What went wrong: The supplied javaHome seems to be invalid. I cannot find the java executable. Tried location: C:\Program Files\Java\jdk-19\bin\java.exe * Try: > Run with --stacktrace option to get the stack trace. > Run with --info or --debug option to get more log output. > Run with --scan to get full insights. Exception: Gradle task assembleDebug failed with exit code 1