HarmonyOS环境下执行Flutter pub get一直卡住 "git clone --mirror https://gitee.com/openharmony-sig/flutter_packages.git "

HarmonyOS
2024-12-25 08:22:57
浏览
收藏 0
回答 1
待解决
回答 1
按赞同
/
按时间
fox280

请在dependency_overrides中添加:

dependency_overrides:
  webview_flutter:
      git:
      url: https://gitee.com/openharmony-sig/flutter_packages.git
      path: packages/webview_flutter/webview_flutter
  webview_flutter_android:
      git:
      url: https://gitee.com/openharmony-sig/flutter_packages.git
      path: packages/webview_flutter/webview_flutter_android
  webview_flutter_platform_interface:
      git:
      url: https://gitee.com/openharmony-sig/flutter_packages.git
      path: packages/webview_flutter/webview_flutter_platform_interface
  webview_flutter_wkwebview:
      git:
      url: https://gitee.com/openharmony-sig/flutter_packages.git
      path: packages/webview_flutter/webview_flutter_wkwebview
  webview_flutter_ohos:
      git:
      url: https://gitee.com/openharmony-sig/flutter_packages.git
      path: "packages/webview_flutter/webview_flutter_ohos"
分享
微博
QQ
微信
回复
2024-12-25 12:18:58
相关问题
HarmonyOS flutter plugin引用时git报错
316浏览 • 1回复 待解决
HarmonyOS 使用flutter创建packages时报错
268浏览 • 1回复 待解决
HarmonyOS git库屏蔽文件失效
139浏览 • 1回复 待解决
Flutter 如何判断是HarmonyOS环境
324浏览 • 1回复 待解决
咨询Flutter工程问题
391浏览 • 1回复 待解决
IDE打包har,会把git目录打进去
360浏览 • 1回复 待解决
在studio内怎么通过git克隆项目啊?
618浏览 • 1回复 待解决
http 请求一直报 2300058
1901浏览 • 0回复 待解决