If your Android Studio report Gradle Error of "The supplied javaHome seems to be invalid. I cannot find the java executable. Tried location: .../Android/Sdk/bin/java". Even I set JAVA_HOME correctly.
You can manually set JDK location for your project:
> File
> Project Structure
> JDK location box: enter and browse to your Java JDK.
Or, set JDK location for Android Studio:
> On Android Studio Welcome Page
> Configure
> Project Defaults
> Project Structure
> JDK location box: enter and browse to your Java JDK.
You can manually set JDK location for your project:
> File
> Project Structure
> JDK location box: enter and browse to your Java JDK.
Or, set JDK location for Android Studio:
> On Android Studio Welcome Page
> Configure
> Project Defaults
> Project Structure
> JDK location box: enter and browse to your Java JDK.
Android Studio Error:The supplied javaHome seems to be invalid. I cannot find the java executable.
Reviewed by Anonymous
on
00:20
Rating:
No comments: