登录
注册
开源
企业版
高校版
搜索
帮助中心
使用条款
关于我们
开源
企业版
高校版
私有云
模力方舟
登录
注册
9月17日,Gitee Xtreme 极智AI重磅发布,来Gitee直播间一起探索AI时代的软件研发新模式
代码拉取完成,页面将自动刷新
当前仓库属于暂停状态,部分功能使用受限,详情请查阅
仓库状态说明
捐赠
捐赠前请先登录
取消
前往登录
扫描微信二维码支付
取消
支付完成
支付提示
将跳转至支付宝完成支付
确定
取消
Watch
不关注
关注所有动态
仅关注版本发行动态
关注但不提醒动态
41
Star
299
Fork
40
鸿蒙突击队
/
flutter
暂停
代码
Issues
75
Pull Requests
4
Wiki
统计
流水线
服务
JavaDoc
PHPDoc
质量分析
Jenkins for Gitee
腾讯云托管
腾讯云 Serverless
悬镜安全
阿里云 SAE
Codeblitz
SBOM
我知道了,不再自动展开
更新失败,请稍后重试!
移除标识
内容风险标识
本任务被
标识为内容中包含有代码安全 Bug 、隐私泄露等敏感信息,仓库外成员不可访问
某些适配的三方库.har文件找不到问题
待办的
#IBCH0F
Mr.yu
创建于
2024-12-19 17:45
### Steps to reproduce flutter doctor 一切正常 pubspec.yaml文件里面添加了flutter_inappwebview的三方库。 ``` flutter_inappwebview: git: url: "https://gitee.com/openharmony-sig/flutter_inappwebview.git" path: "./flutter_inappwebview/" ``` 打开DevEco Studio - Terminal, 执行flutter pub get之后 ### Actual results oh-package.json5文件里面自动出现了 ``` { "name": "entry", "version": "1.0.0", "description": "Please describe the basic information.", "main": "", "author": "", "license": "", "dependencies": { "flutter_inappwebview_ohos": "file:../har/flutter_inappwebview_ohos.har", } } ``` 报错  对应GeneratedPluginRegistrant.ets文件中报错  报错提示中对应的路径下并没有生成flutter_inappwebview_ohos.har文件,请问这个三方库的flutter_inappwebview_ohos.har文件是如何生成的? 补充: 执行了flutter build hap之后报错: ``` ohpm ERROR: missing: flutter_inappwebview_ohos@/Users/developer/development/flutter_ohos/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin :/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run /com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Library/Apple/usr/bin:/Users/developer/.cargo/bin:/Applications/DevEco-Studio.app/Contents/j br/Contents/Home/bin:/Applications/DevEco-Studio.app/Contents/tools/node/bin:/Applications/DevEco-Studio.app/Contents/tools/ohpm/bin:/Applications/DevEco-Studio.app/Co ntents/tools/hvigor/bin:/Users/developer/Library/Application%20Support/JetBrains/Toolbox/scripts:/Applications/Android%20Studio.app/Contents/gradle/gradle-6.2.2/bin/.p ub-cache/git/flutter_inappwebview-35cdee9f45db518d0918702be7195a6df98dd749/flutter_inappwebview_ohos/ohos, required by entry@1.0.0 ohpm ERROR: Found exception: Error: Fetch local folder package error, /Users/developer/development/flutter_ohos/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/ com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.crypte xd/codex.system/bootstrap/usr/appleinternal/bin:/Library/Apple/usr/bin:/Users/developer/.cargo/bin:/Applications/DevEco-Studio.app/Contents/jbr/Contents/Home/bin:/Appl ications/DevEco-Studio.app/Contents/tools/node/bin:/Applications/DevEco-Studio.app/Contents/tools/ohpm/bin:/Applications/DevEco-Studio.app/Contents/tools/hvigor/bin:/U sers/developer/Library/Application%20Support/JetBrains/Toolbox/scripts:/Applications/Android%20Studio.app/Contents/gradle/gradle-6.2.2/bin/.pub-cache/git/flutter_inapp webview-35cdee9f45db518d0918702be7195a6df98dd749/flutter_inappwebview_ohos/ohos does not exist., reached retry limit or non retryable error encountered. ohpm ERROR: ERUNNING execute tasks failed, Error: Fetch local folder package error, /Users/developer/development/flutter_ohos/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/ com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.crypte xd/codex.system/bootstrap/usr/appleinternal/bin:/Library/Apple/usr/bin:/Users/developer/.cargo/bin:/Applications/DevEco-Studio.app/Contents/jbr/Contents/Home/bin:/Appl ications/DevEco-Studio.app/Contents/tools/node/bin:/Applications/DevEco-Studio.app/Contents/tools/ohpm/bin:/Applications/DevEco-Studio.app/Contents/tools/hvigor/bin:/U sers/developer/Library/Application%20Support/JetBrains/Toolbox/scripts:/Applications/Android%20Studio.app/Contents/gradle/gradle-6.2.2/bin/.pub-cache/git/flutter_inapp webview-35cdee9f45db518d0918702be7195a6df98dd749/flutter_inappwebview_ohos/ohos does not exist. ohpm ERROR: Install failed, detail: Error: Fetch local folder package error, /Users/developer/development/flutter_ohos/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/ com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.crypte xd/codex.system/bootstrap/usr/appleinternal/bin:/Library/Apple/usr/bin:/Users/developer/.cargo/bin:/Applications/DevEco-Studio.app/Contents/jbr/Contents/Home/bin:/Appl ications/DevEco-Studio.app/Contents/tools/node/bin:/Applications/DevEco-Studio.app/Contents/tools/ohpm/bin:/Applications/DevEco-Studio.app/Contents/tools/hvigor/bin:/U sers/developer/Library/Application%20Support/JetBrains/Toolbox/scripts:/Applications/Android%20Studio.app/Contents/gradle/gradle-6.2.2/bin/.pub-cache/git/flutter_inapp webview-35cdee9f45db518d0918702be7195a6df98dd749/flutter_inappwebview_ohos/ohos does not exist. Failed to send crash report due to a network error: Operation timed out Oops; flutter has exited unexpectedly: "ProcessException: The command failed with exit code 1 Command: ohpm install --all". A crash report has been written to /Users/developer/Desktop/ohos_app/flutter_01.log ``` ### Logs ### Flutter Doctor output <details open> <summary>Doctor output</summary> ```console Doctor summary (to see all details, run flutter doctor -v): [✓] Flutter (Channel oh-3.22.0, 3.22.0-ohos, on macOS 14.0 23A344 darwin-arm64, locale zh-Hans-CN) [✓] HarmonyOS toolchain - develop for HarmonyOS devices [✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0) [✓] Xcode - develop for iOS and macOS (Xcode 15.4) [✓] Chrome - develop for the web [✓] Android Studio (version 2022.3) [✓] Connected device (8 available) ! Device emulator-5554 is offline. ! Error: Browsing on the local area network for 王宇的iPhone12mini. Ensure the device is unlocked and attached with a cable or associated with the same local area network as this Mac. The device must be opted into Developer Mode to connect wirelessly. (code -27) [✓] Network resources ``` </details>
### Steps to reproduce flutter doctor 一切正常 pubspec.yaml文件里面添加了flutter_inappwebview的三方库。 ``` flutter_inappwebview: git: url: "https://gitee.com/openharmony-sig/flutter_inappwebview.git" path: "./flutter_inappwebview/" ``` 打开DevEco Studio - Terminal, 执行flutter pub get之后 ### Actual results oh-package.json5文件里面自动出现了 ``` { "name": "entry", "version": "1.0.0", "description": "Please describe the basic information.", "main": "", "author": "", "license": "", "dependencies": { "flutter_inappwebview_ohos": "file:../har/flutter_inappwebview_ohos.har", } } ``` 报错  对应GeneratedPluginRegistrant.ets文件中报错  报错提示中对应的路径下并没有生成flutter_inappwebview_ohos.har文件,请问这个三方库的flutter_inappwebview_ohos.har文件是如何生成的? 补充: 执行了flutter build hap之后报错: ``` ohpm ERROR: missing: flutter_inappwebview_ohos@/Users/developer/development/flutter_ohos/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin :/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run /com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Library/Apple/usr/bin:/Users/developer/.cargo/bin:/Applications/DevEco-Studio.app/Contents/j br/Contents/Home/bin:/Applications/DevEco-Studio.app/Contents/tools/node/bin:/Applications/DevEco-Studio.app/Contents/tools/ohpm/bin:/Applications/DevEco-Studio.app/Co ntents/tools/hvigor/bin:/Users/developer/Library/Application%20Support/JetBrains/Toolbox/scripts:/Applications/Android%20Studio.app/Contents/gradle/gradle-6.2.2/bin/.p ub-cache/git/flutter_inappwebview-35cdee9f45db518d0918702be7195a6df98dd749/flutter_inappwebview_ohos/ohos, required by entry@1.0.0 ohpm ERROR: Found exception: Error: Fetch local folder package error, /Users/developer/development/flutter_ohos/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/ com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.crypte xd/codex.system/bootstrap/usr/appleinternal/bin:/Library/Apple/usr/bin:/Users/developer/.cargo/bin:/Applications/DevEco-Studio.app/Contents/jbr/Contents/Home/bin:/Appl ications/DevEco-Studio.app/Contents/tools/node/bin:/Applications/DevEco-Studio.app/Contents/tools/ohpm/bin:/Applications/DevEco-Studio.app/Contents/tools/hvigor/bin:/U sers/developer/Library/Application%20Support/JetBrains/Toolbox/scripts:/Applications/Android%20Studio.app/Contents/gradle/gradle-6.2.2/bin/.pub-cache/git/flutter_inapp webview-35cdee9f45db518d0918702be7195a6df98dd749/flutter_inappwebview_ohos/ohos does not exist., reached retry limit or non retryable error encountered. ohpm ERROR: ERUNNING execute tasks failed, Error: Fetch local folder package error, /Users/developer/development/flutter_ohos/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/ com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.crypte xd/codex.system/bootstrap/usr/appleinternal/bin:/Library/Apple/usr/bin:/Users/developer/.cargo/bin:/Applications/DevEco-Studio.app/Contents/jbr/Contents/Home/bin:/Appl ications/DevEco-Studio.app/Contents/tools/node/bin:/Applications/DevEco-Studio.app/Contents/tools/ohpm/bin:/Applications/DevEco-Studio.app/Contents/tools/hvigor/bin:/U sers/developer/Library/Application%20Support/JetBrains/Toolbox/scripts:/Applications/Android%20Studio.app/Contents/gradle/gradle-6.2.2/bin/.pub-cache/git/flutter_inapp webview-35cdee9f45db518d0918702be7195a6df98dd749/flutter_inappwebview_ohos/ohos does not exist. ohpm ERROR: Install failed, detail: Error: Fetch local folder package error, /Users/developer/development/flutter_ohos/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/ com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.crypte xd/codex.system/bootstrap/usr/appleinternal/bin:/Library/Apple/usr/bin:/Users/developer/.cargo/bin:/Applications/DevEco-Studio.app/Contents/jbr/Contents/Home/bin:/Appl ications/DevEco-Studio.app/Contents/tools/node/bin:/Applications/DevEco-Studio.app/Contents/tools/ohpm/bin:/Applications/DevEco-Studio.app/Contents/tools/hvigor/bin:/U sers/developer/Library/Application%20Support/JetBrains/Toolbox/scripts:/Applications/Android%20Studio.app/Contents/gradle/gradle-6.2.2/bin/.pub-cache/git/flutter_inapp webview-35cdee9f45db518d0918702be7195a6df98dd749/flutter_inappwebview_ohos/ohos does not exist. Failed to send crash report due to a network error: Operation timed out Oops; flutter has exited unexpectedly: "ProcessException: The command failed with exit code 1 Command: ohpm install --all". A crash report has been written to /Users/developer/Desktop/ohos_app/flutter_01.log ``` ### Logs ### Flutter Doctor output <details open> <summary>Doctor output</summary> ```console Doctor summary (to see all details, run flutter doctor -v): [✓] Flutter (Channel oh-3.22.0, 3.22.0-ohos, on macOS 14.0 23A344 darwin-arm64, locale zh-Hans-CN) [✓] HarmonyOS toolchain - develop for HarmonyOS devices [✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0) [✓] Xcode - develop for iOS and macOS (Xcode 15.4) [✓] Chrome - develop for the web [✓] Android Studio (version 2022.3) [✓] Connected device (8 available) ! Device emulator-5554 is offline. ! Error: Browsing on the local area network for 王宇的iPhone12mini. Ensure the device is unlocked and attached with a cable or associated with the same local area network as this Mac. The device must be opted into Developer Mode to connect wirelessly. (code -27) [✓] Network resources ``` </details>
评论 (
2
)
登录
后才可以发表评论
状态
待办的
待办的
进行中
已完成
已取消
负责人
未设置
标签
未设置
项目
未立项任务
未立项任务
里程碑
未关联里程碑
未关联里程碑
Pull Requests
未关联
未关联
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
未关联
分支 (5)
标签 (2)
oh-3.22.0
oh-3.22.0-with-full-official-history
oh-3.22.3
241113_pick_hvigor
google-3.22.0
3.22.0
3.22.0-ohos
开始日期   -   截止日期
-
置顶选项
不置顶
置顶等级:高
置顶等级:中
置顶等级:低
优先级
不指定
严重
主要
次要
不重要
预计工期
(小时)
参与者(1)
1
https://gitee.com/harmonycommando_flutter/flutter.git
git@gitee.com:harmonycommando_flutter/flutter.git
harmonycommando_flutter
flutter
flutter
点此查找更多帮助
搜索帮助
Git 命令在线学习
如何在 Gitee 导入 GitHub 仓库
Git 仓库基础操作
企业版和社区版功能对比
SSH 公钥设置
如何处理代码冲突
仓库体积过大,如何减小?
如何找回被删除的仓库数据
Gitee 产品配额说明
GitHub仓库快速导入Gitee及同步更新
什么是 Release(发行版)
将 PHP 项目自动发布到 packagist.org
评论
仓库举报
回到顶部
登录提示
该操作需登录 Gitee 帐号,请先登录后再操作。
立即登录
没有帐号,去注册