FAILURE: Build failed with an exception.
* Where:
Build file '/bitrise/src/app/build.gradle' line: 1
* What went wrong:
A problem occurred evaluating project ':app'.
> Failed to apply plugin 'com.android.internal.application'.
> 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`.
Run Code Online (Sandbox Code Playgroud)
Gradle 检测本地安装的 JVM Gradle 会选择一个符合构建要求的 JRE/JDK(在这种情况下是一个支持 Java 14 的 JVM)如果没有找到匹配的 JVM,它会自动从 AdoptOpenJDK …
android gradle kotlin android-gradle-plugin android-jetpack-compose