Running “flutter pub get“ in flutter_tools 一直沒動靜
Running “flutter pub get” in flutter_tools 一直沒動靜
解決方法(mac環境)
vim ~/.bash_profile
進入檔案後,新增兩行程式碼 ,更改依賴下載地址為國內源
export PUB_HOSTED_URL=https://pub.flutter-io.cn
export FLUTTER_STORAGE_BASE_URL=https://storage.flutter-io.cn
然後儲存退出,執行source ~/.bash_profile
來更新.bash_profile
檔案
再嘗試你的flutter -h
、flutter create my_app
等命令就可以很快執行下去了
相關文章
- flutter packages get - pub get failed (1)解決方案FlutterPackageAI
- flutter pub get 的時候:A dependency specification must be a string or a mapping.FlutterAPP
- flutter pub get 無法生成 .ios 資料夾解決FlutteriOS
- Flutter填坑筆記:從flutter pub get error 開始,定位Dart SDK問題Flutter筆記ErrorDart
- 解決Flutter編譯一直顯示Running Gradle task 'assembleDebug'Flutter編譯Gradle
- Flutter雜症( flutter packages pub run build_runner build )FlutterPackageUI
- flutter釋出專案到pub的流程Flutter
- Got socket error trying to find package flutter_lints at https://pub.dev Flutter pub.dev錯誤的解決方案GoErrorPackageFlutterHTTPdev
- flutter package get 卡FlutterPackage
- Flutter 如何在pub上釋出自己的PackageFlutterPackage
- 解釋一下這兩行 "pub": "pnpm --filter "./packages/*" run pub", "pub:beta": "pnpm --filter "./packages/*" run pub:beta"NPMFilterPackage
- 剖析Flutter的常用庫get_itFlutter
- MXFlutter上線Flutter pub.dev 三步接入現有工程Flutterdev
- 大廠押注的直播互動遊戲怎麼沒動靜了遊戲
- Flutter的ListView(靜態列表)FlutterView
- 解決GITLAB無法啟動runsv no runningGitlab
- pub.jsJS
- Flutter 狀態管理框架 Provider 和 Get 分析Flutter框架IDE
- 在pub.dev中認證為"Verified Publisher"併發布flutter庫流程devFlutter
- 1002 Running Median
- Flutter(Flare) 最有趣使用者互動動畫沒有之一Flutter動畫
- 一直減肥但一直肥?只因沒選對運動時間!PNAS最新:這個時間運動,“燃脂”效果更佳
- [需求建議]貌似好久沒動靜了,新版本去哪兒?
- 面試官問:Java 執行緒沒有 Running 狀態,為什麼?面試Java執行緒
- 一直想做個專案 奈何沒錢
- Flutter手勢密碼外掛從開發到釋出至pub倉庫Flutter密碼
- 我在等一個人,一直在等,靜靜的等,耐心的等
- Flutter從靜態介面到抽取封裝Flutter封裝
- 【Go】go get 自動代理Go
- 【Lintcode】1786. Pub Sub Pattern
- 動靜態庫
- 一直都沒有理解perl的正則
- Python團隊還沒解散完,谷歌又對Flutter、Dart動手了Python谷歌FlutterDart
- Springboot啟動一直卡在{dataSource-1} inited 如果你clean也沒有效果請點看Spring Boot
- 小米手機 adb devices 一直卡住沒有響應dev
- running-a-command-prompt-as-nt-authoritysystem
- Running Man-奔跑吧,勇士
- Laravel: Up and Running (1):介紹Laravel