We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I got the following error message when I ran gradlew:
gradlew
ERROR: JAVA_HOME is set to an invalid directory: /opt/android-studio/jbr Please set the JAVA_HOME variable in your environment to match the location of your Java installation.
ERROR: JAVA_HOME is set to an invalid directory: /opt/android-studio/jbr
Please set the JAVA_HOME variable in your environment to match the location of your Java installation.
JAVA_HOME was already correctly set in my environment. (My JAVA_HOME isn't /opt/android-studio/jbr.) The message left me confused.
I fixed the problem by deleting line 2 of gradlew (export JAVA_HOME=/opt/android-studio/jbr).
export JAVA_HOME=/opt/android-studio/jbr
The text was updated successfully, but these errors were encountered:
gradlew was deleted in f85f1b2.
Sorry, something went wrong.
No branches or pull requests
I got the following error message when I ran
gradlew
:JAVA_HOME was already correctly set in my environment. (My JAVA_HOME isn't /opt/android-studio/jbr.) The message left me confused.
I fixed the problem by deleting line 2 of gradlew (
export JAVA_HOME=/opt/android-studio/jbr
).The text was updated successfully, but these errors were encountered: