登录
注册
开源
企业版
高校版
搜索
帮助中心
使用条款
关于我们
开源
企业版
高校版
私有云
模力方舟
登录
注册
9月17日,Gitee Xtreme 极智AI重磅发布,来Gitee直播间一起探索AI时代的软件研发新模式
代码拉取完成,页面将自动刷新
当前仓库属于关闭状态,部分功能使用受限,详情请查阅
仓库状态说明
捐赠
捐赠前请先登录
取消
前往登录
扫描微信二维码支付
取消
支付完成
支付提示
将跳转至支付宝完成支付
确定
取消
Watch
不关注
关注所有动态
仅关注版本发行动态
关注但不提醒动态
168
Star
1.3K
Fork
273
OpenHarmony-SIG
/
flutter_flutter
关闭
代码
Issues
423
Pull Requests
11
Wiki
统计
流水线
服务
JavaDoc
PHPDoc
质量分析
Jenkins for Gitee
腾讯云托管
腾讯云 Serverless
悬镜安全
阿里云 SAE
Codeblitz
SBOM
我知道了,不再自动展开
更新失败,请稍后重试!
移除标识
内容风险标识
本任务被
标识为内容中包含有代码安全 Bug 、隐私泄露等敏感信息,仓库外成员不可访问
flutter build hap成功,但是模拟机安装后启动白屏,真机安装后会报错
待办的
#IBGNV7
任务
非凡
创建于
2025-01-09 11:50
**【任务描述】** 控制台日志: ``` (base) hufeifan@hufeifandeair explore % flutter doctor -v [!] Flutter (Channel 3.7.12-ohos-1.0.3, 3.7.12-ohos-1.0.3, on macOS 14.6.1 23G93 darwin-arm64, locale zh-Hans-CN) • Flutter version 3.7.12-ohos-1.0.3 on channel 3.7.12-ohos-1.0.3 at /Users/hufeifan/Downloads/flutter-harmony/flutter_flutter ! Upstream repository https://gitee.com/openharmony-sig/flutter_flutter.git is not a standard remote. Set environment variable "FLUTTER_GIT_URL" to https://gitee.com/openharmony-sig/flutter_flutter.git to dismiss this error. • Framework revision c30116276c (4 weeks ago), 2024-12-10 09:12:53 +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 • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades. [✓] HarmonyOS toolchain - develop for HarmonyOS devices • OpenHarmony Sdk at /Applications/DevEco-Studio.app/Contents/sdk, available api versions has [13:default] • Ohpm version 5.0.10 • Node version v18.20.1 • Hvigorw binary at /Applications/DevEco-Studio.app/Contents/tools/hvigor/bin/hvigorw [!] Android toolchain - develop for Android devices (Android SDK version 30.0.3) • Android SDK at /Users/hufeifan/Library/Android/sdk • Platform android-34, build-tools 30.0.3 • ANDROID_HOME = /Users/hufeifan/Library/Android/sdk • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840) ✗ Android license status unknown. Run `flutter doctor --android-licenses` to accept the SDK licenses. See https://flutter.dev/docs/get-started/install/macos#android-setup for more details. [✓] Xcode - develop for iOS and macOS (Xcode 16.2) • Xcode at /Applications/Xcode.app/Contents/Developer • Build 16C5032a • CocoaPods version 1.11.2 [✓] Chrome - develop for the web • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome [✓] Android Studio (version 2021.2) • Android Studio at /Applications/Android Studio.app/Contents • 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+0-b1504.28-7817840) [✓] VS Code (version 1.96.2) • VS Code at /Applications/Visual Studio Code.app/Contents • Flutter extension version 3.102.0 [✓] Connected device (3 available) • 127.0.0.1:5555 (mobile) • 127.0.0.1:5555 • ohos-arm64 • Ohos OpenHarmony-5.0.1.110 (API 13) • macOS (desktop) • macos • darwin-arm64 • macOS 14.6.1 23G93 darwin-arm64 • Chrome (web) • chrome • web-javascript • Google Chrome 131.0.6778.206 [✓] HTTP Host Availability • All required HTTP hosts are available ! Doctor found issues in 2 categories. (base) hufeifan@hufeifandeair explore % flutter build hap --target-platform ohos-arm64 --release start hap build... Running Hvigor task assembleHap... 30.8s ✓ Built ohos/entry/build/default/outputs/default/entry-default-signed.hap (69.2MB). ``` 测试平台:https://www.testin.cn/ 华为 Pura 70 Pro HarmonyOS NEXT.5.0.0.123 真机报错信息: uid:6c5650b2-b52c-4d09-bce4-5fa98589c163 [Info]App install path:/Users/testin/testin_swj_data/download/20250109/D022201E1E28823C73DC65D020AFB9F0_144008946199875.hap, queuesize:0, msg:error: failed to install bundle. code:9568322 error: signature verification failed due to not trusted app source. AppMod finish 安装entry-default-unsigned.hap包是上述同样的报错。 或使用 **flutter build hap --release** 也不行 使用DevEco-Studio启动模拟器也是白屏,运行日志: 11:13:13.003: build task in 10 s 207 ms 11:13:13.008: Launching com.example.explore 11:13:13.028: $ hdc shell aa force-stop com.example.explore 11:13:13.166: $ hdc shell mkdir data/local/tmp/83fc241926724ed89171fc980f2d0868 11:13:13.386: $ hdc file send /Users/hufeifan/Desktop/explore/ohos/entry/build/default/outputs/default/entry-default-signed.hap "data/local/tmp/83fc241926724ed89171fc980f2d0868" in 220 ms 11:13:13.965: $ hdc shell bm install -p data/local/tmp/83fc241926724ed89171fc980f2d0868 in 580 ms 11:13:14.169: $ hdc shell rm -rf data/local/tmp/83fc241926724ed89171fc980f2d0868 11:13:14.346: $ hdc shell aa start -a EntryAbility -b com.example.explore in 108 ms 11:13:14.352: Launch com.example.explore success in 1 s 344 ms 模拟器是HarmonyOS 5.0.0 **【解决方案】** **【任务来源】**
**【任务描述】** 控制台日志: ``` (base) hufeifan@hufeifandeair explore % flutter doctor -v [!] Flutter (Channel 3.7.12-ohos-1.0.3, 3.7.12-ohos-1.0.3, on macOS 14.6.1 23G93 darwin-arm64, locale zh-Hans-CN) • Flutter version 3.7.12-ohos-1.0.3 on channel 3.7.12-ohos-1.0.3 at /Users/hufeifan/Downloads/flutter-harmony/flutter_flutter ! Upstream repository https://gitee.com/openharmony-sig/flutter_flutter.git is not a standard remote. Set environment variable "FLUTTER_GIT_URL" to https://gitee.com/openharmony-sig/flutter_flutter.git to dismiss this error. • Framework revision c30116276c (4 weeks ago), 2024-12-10 09:12:53 +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 • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades. [✓] HarmonyOS toolchain - develop for HarmonyOS devices • OpenHarmony Sdk at /Applications/DevEco-Studio.app/Contents/sdk, available api versions has [13:default] • Ohpm version 5.0.10 • Node version v18.20.1 • Hvigorw binary at /Applications/DevEco-Studio.app/Contents/tools/hvigor/bin/hvigorw [!] Android toolchain - develop for Android devices (Android SDK version 30.0.3) • Android SDK at /Users/hufeifan/Library/Android/sdk • Platform android-34, build-tools 30.0.3 • ANDROID_HOME = /Users/hufeifan/Library/Android/sdk • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840) ✗ Android license status unknown. Run `flutter doctor --android-licenses` to accept the SDK licenses. See https://flutter.dev/docs/get-started/install/macos#android-setup for more details. [✓] Xcode - develop for iOS and macOS (Xcode 16.2) • Xcode at /Applications/Xcode.app/Contents/Developer • Build 16C5032a • CocoaPods version 1.11.2 [✓] Chrome - develop for the web • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome [✓] Android Studio (version 2021.2) • Android Studio at /Applications/Android Studio.app/Contents • 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+0-b1504.28-7817840) [✓] VS Code (version 1.96.2) • VS Code at /Applications/Visual Studio Code.app/Contents • Flutter extension version 3.102.0 [✓] Connected device (3 available) • 127.0.0.1:5555 (mobile) • 127.0.0.1:5555 • ohos-arm64 • Ohos OpenHarmony-5.0.1.110 (API 13) • macOS (desktop) • macos • darwin-arm64 • macOS 14.6.1 23G93 darwin-arm64 • Chrome (web) • chrome • web-javascript • Google Chrome 131.0.6778.206 [✓] HTTP Host Availability • All required HTTP hosts are available ! Doctor found issues in 2 categories. (base) hufeifan@hufeifandeair explore % flutter build hap --target-platform ohos-arm64 --release start hap build... Running Hvigor task assembleHap... 30.8s ✓ Built ohos/entry/build/default/outputs/default/entry-default-signed.hap (69.2MB). ``` 测试平台:https://www.testin.cn/ 华为 Pura 70 Pro HarmonyOS NEXT.5.0.0.123 真机报错信息: uid:6c5650b2-b52c-4d09-bce4-5fa98589c163 [Info]App install path:/Users/testin/testin_swj_data/download/20250109/D022201E1E28823C73DC65D020AFB9F0_144008946199875.hap, queuesize:0, msg:error: failed to install bundle. code:9568322 error: signature verification failed due to not trusted app source. AppMod finish 安装entry-default-unsigned.hap包是上述同样的报错。 或使用 **flutter build hap --release** 也不行 使用DevEco-Studio启动模拟器也是白屏,运行日志: 11:13:13.003: build task in 10 s 207 ms 11:13:13.008: Launching com.example.explore 11:13:13.028: $ hdc shell aa force-stop com.example.explore 11:13:13.166: $ hdc shell mkdir data/local/tmp/83fc241926724ed89171fc980f2d0868 11:13:13.386: $ hdc file send /Users/hufeifan/Desktop/explore/ohos/entry/build/default/outputs/default/entry-default-signed.hap "data/local/tmp/83fc241926724ed89171fc980f2d0868" in 220 ms 11:13:13.965: $ hdc shell bm install -p data/local/tmp/83fc241926724ed89171fc980f2d0868 in 580 ms 11:13:14.169: $ hdc shell rm -rf data/local/tmp/83fc241926724ed89171fc980f2d0868 11:13:14.346: $ hdc shell aa start -a EntryAbility -b com.example.explore in 108 ms 11:13:14.352: Launch com.example.explore success in 1 s 344 ms 模拟器是HarmonyOS 5.0.0 **【解决方案】** **【任务来源】**
评论 (
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
[email protected]
:openharmony-sig/flutter_flutter.git
openharmony-sig
flutter_flutter
flutter_flutter
点此查找更多帮助
搜索帮助
Git 命令在线学习
如何在 Gitee 导入 GitHub 仓库
Git 仓库基础操作
企业版和社区版功能对比
SSH 公钥设置
如何处理代码冲突
仓库体积过大,如何减小?
如何找回被删除的仓库数据
Gitee 产品配额说明
GitHub仓库快速导入Gitee及同步更新
什么是 Release(发行版)
将 PHP 项目自动发布到 packagist.org
评论
仓库举报
回到顶部
登录提示
该操作需登录 Gitee 帐号,请先登录后再操作。
立即登录
没有帐号,去注册