You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Android Gradle plugin requires Java 11 to run. You are currently using Java 1.8.
The DevOps helped me install JDK 11 in the node where Build Job runs. Then I update the JAVA_HOME env var temporarily in my building script. This works for me.
If you use a Freestyle Job, you can add export JAVA_HOME=your_jdk11_path in the building script.
If you use a Declarative Pipeline Job, you can add JAVA_HOME='your_jdk11_path' in the environment section.