So I recently upgraded from Java 7 to Java 8, when I opened Android Studio, the below message popped up
Failed to complete Gradle execution.
Supplied JAVA_HOME is not a valid folder. You supplied /usr/lib/jvm/java-7-oracle
I was like, “what the heck!” since I already had changed my JAVA_HOME environment variable…