773 Star 1.5K Fork 351

开源中国 / Gitee Feedback

 / 详情

Android构建jdk版本过低

待确认
缺陷
创建于  
2022-02-21 16:03

问题描述

Cloning into 'zhouyuanbin_DingKePay-POS-27603422'...
###############
fetch code succeed
###############
ready to create docker container
###############
docker container created successfully
Downloading file:/opt/android/gradle-zip/gradle-7.2-bin.zip
..........10%...........20%...........30%...........40%...........50%...........60%...........70%...........80%...........90%...........100%

Welcome to Gradle 7.2!

Here are the highlights of this release:

  • Toolchain support for Scala
  • More cache hits when Java source files have platform-specific line endings
  • More resilient remote HTTP build cache behavior

For more details see https://docs.gradle.org/7.2/release-notes.html

Starting a Gradle Daemon (subsequent builds will be faster)

FAILURE: Build failed with an exception.

  • Where:
    Build file 'android_projects/zhouyuanbin_DingKePay-POS-27603422/app/build.gradle' line: 2

  • What went wrong:
    An exception occurred applying plugin request [id: 'com.android.application']

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.

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

BUILD FAILED in 1m 9s

重现步骤

期望效果

实际效果

环境信息

操作系统:Windows 10
浏览器:Chrome
分辨率:1536*864
语言:zh-CN

评论 (3)

zwonb 创建了缺陷

同样的问题。。。怎么搞,有官方大佬回复吗?

诺墨 负责人设置为Admin
诺墨 优先级设置为主要

一样,看来是遥遥无期啊遥遥无期

Admin 关联项目用户反馈 修改为Gitee Go
Admin 计划开始日期设置为2022-12-01
Admin 计划截止日期设置为2022-12-15
Admin 添加协作者Admin
Admin 负责人Admin 修改为徐旭
Admin 取消协作者Admin
Admin 添加协作者wei

登录 后才可以发表评论

状态
负责人
项目
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
预计工期 (小时)
参与者(5)
2175938 cxlr 1605365668 551147 normalcoder 1578927376 2317018 iewiewiew 1682672972
Ruby
1
https://gitee.com/oschina/git-osc.git
git@gitee.com:oschina/git-osc.git
oschina
git-osc
Gitee Feedback

搜索帮助