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\Android\Android Studio\jre\bin\java.exe
what's solution for this. i also set JAVA_HOME environment variable but also give error.
solution for this