登录
注册
开源
企业版
高校版
搜索
帮助中心
使用条款
关于我们
开源
企业版
高校版
私有云
模力方舟
AI 队友
登录
注册
代码拉取完成,页面将自动刷新
仓库状态说明
捐赠
捐赠前请先登录
取消
前往登录
扫描微信二维码支付
取消
支付完成
支付提示
将跳转至支付宝完成支付
确定
取消
Watch
不关注
关注所有动态
仅关注版本发行动态
关注但不提醒动态
168
Star
1.3K
Fork
272
OpenHarmony-SIG
/
flutter_flutter
关闭
代码
Issues
423
Pull Requests
11
Wiki
统计
流水线
服务
JavaDoc
PHPDoc
质量分析
Jenkins for Gitee
腾讯云托管
腾讯云 Serverless
悬镜安全
阿里云 SAE
Codeblitz
SBOM
我知道了,不再自动展开
更新失败,请稍后重试!
移除标识
内容风险标识
本任务被
标识为内容中包含有代码安全 Bug 、隐私泄露等敏感信息,仓库外成员不可访问
flutter create --platforms ohos 失败
待办的
#IBBQO6
缺陷
jiaming_
创建于
2024-12-17 11:03
**【模块名_概率】简要描述:** **【环境信息】:** Flutter doctor -v: $ flutter doctor -v Flutter assets will be downloaded from https://storage.flutter-io.cn. Make sure you trust this source! [√] Flutter (Channel dev, 3.7.12-ohos-1.0.0, on Microsoft Windows [版本 10.0.19044.1526], locale zh-CN) • Flutter version 3.7.12-ohos-1.0.0 on channel dev at C:\hmsdk\flutter_flutter • Upstream repository https://gitee.com/openharmony-sig/flutter_flutter.git • FLUTTER_GIT_URL = https://gitee.com/openharmony-sig/flutter_flutter.git • Framework revision cf658a56de (8 weeks ago), 2024-10-23 01:32:11 +0000 • Engine revision 1a65d409c7 • Dart version 2.19.6 • DevTools version 2.20.1 • Pub download mirror https://pub.flutter-io.cn • Flutter download mirror https://storage.flutter-io.cn G[☠] HarmonyOS toolchain - develop for HarmonyOS devices (the doctor check crashed) X Due to an error, the doctor check did not complete. If the error message below is not helpful, please let us know about this issue at https://github.com/flutter/flutter/issues. X Exception: HarmonyOS toolchain - develop for HarmonyOS devices exceeded maximum allowed duration of 0:04:30.000000 • [X] Windows Version (Unable to confirm if installed Windows version is 10 or greater) [!] Android toolchain - develop for Android devices (Android SDK version 34.0.0) • Android SDK at D:\dev_tools\android-sdk X cmdline-tools component is missing Run `path/to/sdkmanager --install "cmdline-tools;latest"` See https://developer.android.com/studio/command-line for more details. X Android license status unknown. Run `flutter doctor --android-licenses` to accept the SDK licenses. See https://flutter.dev/docs/get-started/install/windows#android-setup for more details. [X] Visual Studio - develop for Windows X Visual Studio not installed; this is necessary for Windows development. Download at https://visualstudio.microsoft.com/downloads/. Please install the "Desktop development with C++" workload, including all of its default components [√] Android Studio (version 2021.2) • Android Studio at D:\dev_tools\android-studio-2021.2.1.16-windows\android-studio • Flutter plugin can be installed from: https://plugins.jetbrains.com/plugin/9212-flutter • Dart plugin can be installed from: https://plugins.jetbrains.com/plugin/6351-dart • Java version OpenJDK Runtime Environment (build 11.0.12+7-b1504.28-7817840) [!] Android Studio (version 2024.1) • Android Studio at D:\dev_tools\AndroidStudio240101 • Flutter plugin can be installed from: https://plugins.jetbrains.com/plugin/9212-flutter • Dart plugin can be installed from: https://plugins.jetbrains.com/plugin/6351-dart X Unable to find bundled Java version. • Try updating or re-installing Android Studio. [√] Android Studio (version 2021.1) • Android Studio at D:\dev_tools\android-studio • Flutter plugin can be installed from: https://plugins.jetbrains.com/plugin/9212-flutter • Dart plugin can be installed from: https://plugins.jetbrains.com/plugin/6351-dart • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6842174) [√] Connected device (1 available) • Windows (desktop) • windows • windows-x64 • Microsoft Windows [版本 10.0.19044.1526] ! Device 3bee2980 is not authorized. You might need to check your device for an authorization dialog. [√] HTTP Host Availability • All required HTTP hosts are available ! Doctor found issues in 5 categories. **【预置条件】:** **【测试步骤】:** **【预期结果】:** 希望flutter create 成功创建flutter工程 **【实际结果】:** $ flutter create --platforms ohos aptest Flutter assets will be downloaded from https://storage.flutter-io.cn. Make sure you trust this source! Creating project aptest... Running "flutter pub get" in aptest... Could not find a file named "pubspec.yaml" in "C:\hmsdk\workspace\aptest". pub get failed command: "C:\hmsdk\flutter_flutter\bin\cache\dart-sdk\bin\dart __deprecated_pub --directory aptest get --example" pub env: { "FLUTTER_ROOT": "C:\hmsdk\flutter_flutter", "PUB_ENVIRONMENT": "flutter_cli:create", "PUB_CACHE": "C:/PUB", } exit code: 66 **【恢复手段】:** **【出现概率】:问题出现次数/实际测试次数** 必现 **【定位信息】:** - 1. Log、截图、多媒体文件等,所有和问题有关的信息:
**【模块名_概率】简要描述:** **【环境信息】:** Flutter doctor -v: $ flutter doctor -v Flutter assets will be downloaded from https://storage.flutter-io.cn. Make sure you trust this source! [√] Flutter (Channel dev, 3.7.12-ohos-1.0.0, on Microsoft Windows [版本 10.0.19044.1526], locale zh-CN) • Flutter version 3.7.12-ohos-1.0.0 on channel dev at C:\hmsdk\flutter_flutter • Upstream repository https://gitee.com/openharmony-sig/flutter_flutter.git • FLUTTER_GIT_URL = https://gitee.com/openharmony-sig/flutter_flutter.git • Framework revision cf658a56de (8 weeks ago), 2024-10-23 01:32:11 +0000 • Engine revision 1a65d409c7 • Dart version 2.19.6 • DevTools version 2.20.1 • Pub download mirror https://pub.flutter-io.cn • Flutter download mirror https://storage.flutter-io.cn G[☠] HarmonyOS toolchain - develop for HarmonyOS devices (the doctor check crashed) X Due to an error, the doctor check did not complete. If the error message below is not helpful, please let us know about this issue at https://github.com/flutter/flutter/issues. X Exception: HarmonyOS toolchain - develop for HarmonyOS devices exceeded maximum allowed duration of 0:04:30.000000 • [X] Windows Version (Unable to confirm if installed Windows version is 10 or greater) [!] Android toolchain - develop for Android devices (Android SDK version 34.0.0) • Android SDK at D:\dev_tools\android-sdk X cmdline-tools component is missing Run `path/to/sdkmanager --install "cmdline-tools;latest"` See https://developer.android.com/studio/command-line for more details. X Android license status unknown. Run `flutter doctor --android-licenses` to accept the SDK licenses. See https://flutter.dev/docs/get-started/install/windows#android-setup for more details. [X] Visual Studio - develop for Windows X Visual Studio not installed; this is necessary for Windows development. Download at https://visualstudio.microsoft.com/downloads/. Please install the "Desktop development with C++" workload, including all of its default components [√] Android Studio (version 2021.2) • Android Studio at D:\dev_tools\android-studio-2021.2.1.16-windows\android-studio • Flutter plugin can be installed from: https://plugins.jetbrains.com/plugin/9212-flutter • Dart plugin can be installed from: https://plugins.jetbrains.com/plugin/6351-dart • Java version OpenJDK Runtime Environment (build 11.0.12+7-b1504.28-7817840) [!] Android Studio (version 2024.1) • Android Studio at D:\dev_tools\AndroidStudio240101 • Flutter plugin can be installed from: https://plugins.jetbrains.com/plugin/9212-flutter • Dart plugin can be installed from: https://plugins.jetbrains.com/plugin/6351-dart X Unable to find bundled Java version. • Try updating or re-installing Android Studio. [√] Android Studio (version 2021.1) • Android Studio at D:\dev_tools\android-studio • Flutter plugin can be installed from: https://plugins.jetbrains.com/plugin/9212-flutter • Dart plugin can be installed from: https://plugins.jetbrains.com/plugin/6351-dart • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6842174) [√] Connected device (1 available) • Windows (desktop) • windows • windows-x64 • Microsoft Windows [版本 10.0.19044.1526] ! Device 3bee2980 is not authorized. You might need to check your device for an authorization dialog. [√] HTTP Host Availability • All required HTTP hosts are available ! Doctor found issues in 5 categories. **【预置条件】:** **【测试步骤】:** **【预期结果】:** 希望flutter create 成功创建flutter工程 **【实际结果】:** $ flutter create --platforms ohos aptest Flutter assets will be downloaded from https://storage.flutter-io.cn. Make sure you trust this source! Creating project aptest... Running "flutter pub get" in aptest... Could not find a file named "pubspec.yaml" in "C:\hmsdk\workspace\aptest". pub get failed command: "C:\hmsdk\flutter_flutter\bin\cache\dart-sdk\bin\dart __deprecated_pub --directory aptest get --example" pub env: { "FLUTTER_ROOT": "C:\hmsdk\flutter_flutter", "PUB_ENVIRONMENT": "flutter_cli:create", "PUB_CACHE": "C:/PUB", } exit code: 66 **【恢复手段】:** **【出现概率】:问题出现次数/实际测试次数** 必现 **【定位信息】:** - 1. Log、截图、多媒体文件等,所有和问题有关的信息:
评论 (
0
)
登录
后才可以发表评论
状态
待办的
待办的
已确认
技术评审中
修复中
验收中
已完成
已取消
已拒绝
挂起
负责人
未设置
标签
未设置
项目
未立项任务
未立项任务
里程碑
未关联里程碑
未关联里程碑
Pull Requests
未关联
未关联
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
未关联
分支 (22)
标签 (7)
3.7.12-ohos-1.0.4
master
dev
3.7.12-ohos-1.0.3
br_ohos_accessibility
3.7.12-ohos-1.0.1-candidate.6
3.7.12-ohos-1.0.1-candidate.5
3.7.12-ohos-1.0.1-candidate.4
3.7.12-ohos-1.0.1-candidate.3
3.7.12-ohos-1.0.1-cadidate.2
3.7.12-ohos-1.0.1-cadidate.1
3.7.12-ohos-1.0.0
3.7.12-ohos-1.0.1
flutter-3.7.12-ohos.candidate.3
flutter-3.7.12-ohos.candidate.2
br_texture_5.0
flutter-3.7.12-ohos.candidate.1
3.22.1-ohos-0.1.0
flutter-3.7.12-ohos.candidate.0
br_optimize_har_structure
br_support_api_12
revert-merge-57-master
3.7.12-ohos-1.0.4
3.7.12-ohos-1.0.3
3.7.12-ohos-1.0.2
3.7.12-ohos-1.0.1
3.7.12-ohos-1.0.0
github.com/flutter/flutter/3.22.0
3.7.12-ohos
开始日期   -   截止日期
-
置顶选项
不置顶
置顶等级:高
置顶等级:中
置顶等级:低
优先级
不指定
严重
主要
次要
不重要
预计工期
(小时)
参与者(1)
1
https://gitee.com/openharmony-sig/flutter_flutter.git
git@gitee.com:openharmony-sig/flutter_flutter.git
openharmony-sig
flutter_flutter
flutter_flutter
点此查找更多帮助
搜索帮助
Git 命令在线学习
如何在 Gitee 导入 GitHub 仓库
Git 仓库基础操作
企业版和社区版功能对比
SSH 公钥设置
如何处理代码冲突
仓库体积过大,如何减小?
如何找回被删除的仓库数据
Gitee 产品配额说明
GitHub仓库快速导入Gitee及同步更新
什么是 Release(发行版)
将 PHP 项目自动发布到 packagist.org
评论
仓库举报
回到顶部
登录提示
该操作需登录 Gitee 帐号,请先登录后再操作。
立即登录
没有帐号,去注册