Skip to content
New issue

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

Android Gradle plugin requires Java 11 to run. You are currently using Java 1.8. #4708

Closed
uncn opened this issue Aug 30, 2021 · 4 comments
Closed
Labels

Comments

@uncn
Copy link

uncn commented Aug 30, 2021

https://jitpack.io/com/sunzn/banner/2.3.5/build.log

  • What went wrong:
    A problem occurred evaluating project ':Library'.

Failed to apply plugin 'com.android.internal.library'.
Android Gradle plugin requires Java 11 to run. You are currently using Java 1.8.
You can try some of the following options:
- changing the IDE settings.
- changing the JAVA_HOME environment variable.
- changing org.gradle.java.home in gradle.properties.

@kylecorry31
Copy link

@uncn this happened to me as well, but I found that adding the following file to the root of my project resolves it: https://github.com/kylecorry31/Trail-Sense-Core/blob/main/jitpack.yml

@Canato
Copy link

Canato commented Sep 2, 2021

Duplicate of #4474
There is a solution on it, please use the same thread.

@github-actions
Copy link

This issue is stale because it has been open for 30 days with no activity.

@github-actions github-actions bot added the stale label Apr 10, 2022
@github-actions
Copy link

This issue was closed because it has been inactive for 14 days since being marked as stale.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants