登录
注册
开源
企业版
高校版
搜索
帮助中心
使用条款
关于我们
开源
企业版
高校版
私有云
模力方舟
登录
注册
9月20日,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 、隐私泄露等敏感信息,仓库外成员不可访问
GetStorage.init报错
待办的
#IBIVHC
哈密瓜丶
创建于
2025-01-20 14:44
### Steps to reproduce flutter run 白屏 重新reload报错 ### Actual results MissingPluginException (MissingPluginException(No implementation found for method getApplicationDocumentsDirectory on channel plugins.flutter.io/path_provider)) 权限已加ohos.permission.STORE_PERSISTENT_DATA 如果不使用init的话,不会报错,但是杀掉app进程后,存储的数据都清空了。是需要权限还是这个第三方库的支持问题,有无推荐的第三方库 ### Logs <details open> <summary>Logs</summary> ```console <!-- Paste your logs here --> ``` </details> ### Flutter Doctor output Flutter (Channel oh-3.22.0, 3.22.1-0.0.pre.28, on Microsoft Windows [版本 10.0.26100.2894], locale zh-CN) • Flutter version 3.22.1-0.0.pre.28 on channel oh-3.22.0 at D:\dev\flutter_harmony ! Upstream repository https://gitee.com/harmonycommando_flutter/flutter.git is not a standard remote. Set environment variable "FLUTTER_GIT_URL" to https://gitee.com/harmonycommando_flutter/flutter.git to dismiss this error. • Framework revision 2f5301dec0 (3 weeks ago), 2024-12-30 12:15:32 +0000 • Engine revision f6344b75dc • Dart version 3.4.0 • DevTools version 2.34.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 D:\dev\command-line-tools/sdk, available api versions has [13:default] • Ohpm version 5.0.10 • Node version v18.20.1 • Hvigorw binary at D:\dev\command-line-tools\hvigor\bin\hvigorw [√] Windows Version (Installed version of Windows is version 10 or higher) [√] Android toolchain - develop for Android devices (Android SDK version 34.0.0) • Android SDK at C:\Users\Lucifer\AppData\Local\Android\sdk • Platform android-34, build-tools 34.0.0 • Java binary at: C:\Program Files\Android\Android Studio\jbr\bin\java • Java version OpenJDK Runtime Environment (build 17.0.11+0--11852314) • All Android licenses accepted. [√] Chrome - develop for the web • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe [!] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.12.0) • Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community • Visual Studio Community 2022 version 17.12.35506.116 X Visual Studio is missing necessary components. Please re-run the Visual Studio installer for the "Desktop development with C++" workload, and include these components: MSVC v142 - VS 2019 C++ x64/x86 build tools - If there are multiple build tool versions available, install the latest C++ CMake tools for Windows Windows 10 SDK [√] Android Studio (version 2024.2) • Android Studio at C:\Program Files\Android\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 17.0.11+0--11852314) [√] VS Code (version 1.96.4) • VS Code at C:\Users\Lucifer\AppData\Local\Programs\Microsoft VS Code • Flutter extension version 3.102.0
### Steps to reproduce flutter run 白屏 重新reload报错 ### Actual results MissingPluginException (MissingPluginException(No implementation found for method getApplicationDocumentsDirectory on channel plugins.flutter.io/path_provider)) 权限已加ohos.permission.STORE_PERSISTENT_DATA 如果不使用init的话,不会报错,但是杀掉app进程后,存储的数据都清空了。是需要权限还是这个第三方库的支持问题,有无推荐的第三方库 ### Logs <details open> <summary>Logs</summary> ```console <!-- Paste your logs here --> ``` </details> ### Flutter Doctor output Flutter (Channel oh-3.22.0, 3.22.1-0.0.pre.28, on Microsoft Windows [版本 10.0.26100.2894], locale zh-CN) • Flutter version 3.22.1-0.0.pre.28 on channel oh-3.22.0 at D:\dev\flutter_harmony ! Upstream repository https://gitee.com/harmonycommando_flutter/flutter.git is not a standard remote. Set environment variable "FLUTTER_GIT_URL" to https://gitee.com/harmonycommando_flutter/flutter.git to dismiss this error. • Framework revision 2f5301dec0 (3 weeks ago), 2024-12-30 12:15:32 +0000 • Engine revision f6344b75dc • Dart version 3.4.0 • DevTools version 2.34.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 D:\dev\command-line-tools/sdk, available api versions has [13:default] • Ohpm version 5.0.10 • Node version v18.20.1 • Hvigorw binary at D:\dev\command-line-tools\hvigor\bin\hvigorw [√] Windows Version (Installed version of Windows is version 10 or higher) [√] Android toolchain - develop for Android devices (Android SDK version 34.0.0) • Android SDK at C:\Users\Lucifer\AppData\Local\Android\sdk • Platform android-34, build-tools 34.0.0 • Java binary at: C:\Program Files\Android\Android Studio\jbr\bin\java • Java version OpenJDK Runtime Environment (build 17.0.11+0--11852314) • All Android licenses accepted. [√] Chrome - develop for the web • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe [!] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.12.0) • Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community • Visual Studio Community 2022 version 17.12.35506.116 X Visual Studio is missing necessary components. Please re-run the Visual Studio installer for the "Desktop development with C++" workload, and include these components: MSVC v142 - VS 2019 C++ x64/x86 build tools - If there are multiple build tool versions available, install the latest C++ CMake tools for Windows Windows 10 SDK [√] Android Studio (version 2024.2) • Android Studio at C:\Program Files\Android\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 17.0.11+0--11852314) [√] VS Code (version 1.96.4) • VS Code at C:\Users\Lucifer\AppData\Local\Programs\Microsoft VS Code • Flutter extension version 3.102.0
评论 (
1
)
登录
后才可以发表评论
状态
待办的
待办的
进行中
已完成
已取消
负责人
未设置
标签
未设置
项目
未立项任务
未立项任务
里程碑
未关联里程碑
未关联里程碑
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 帐号,请先登录后再操作。
立即登录
没有帐号,去注册