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 無法生成 .ios 資料夾解決FlutteriOS
- Flutter填坑筆記:從flutter pub get error 開始,定位Dart SDK問題Flutter筆記ErrorDart
- flutter pub get 的時候:A dependency specification must be a string or a mapping.FlutterAPP
- 解決Flutter編譯一直顯示Running Gradle task 'assembleDebug'Flutter編譯Gradle
- Flutter雜症( flutter packages pub run build_runner build )FlutterPackageUI
- flutter釋出專案到pub的流程Flutter
- flutter package get 卡FlutterPackage
- Flutter 如何在pub上釋出自己的PackageFlutterPackage
- Got socket error trying to find package flutter_lints at https://pub.dev Flutter pub.dev錯誤的解決方案GoErrorPackageFlutterHTTPdev
- JMS pub/sub執行正常但訊息沒有
- 大廠押注的直播互動遊戲怎麼沒動靜了遊戲
- 剖析Flutter的常用庫get_itFlutter
- MXFlutter上線Flutter pub.dev 三步接入現有工程Flutterdev
- 解釋一下這兩行 "pub": "pnpm --filter "./packages/*" run pub", "pub:beta": "pnpm --filter "./packages/*" run pub:beta"NPMFilterPackage
- Flutter的ListView(靜態列表)FlutterView
- pub.jsJS
- get的被動用法(get-passive)
- 在pub.dev中認證為"Verified Publisher"併發布flutter庫流程devFlutter
- 一直想做個專案 奈何沒錢
- Debut in IT Pub BLOG
- [需求建議]貌似好久沒動靜了,新版本去哪兒?
- Flutter手勢密碼外掛從開發到釋出至pub倉庫Flutter密碼
- Flutter 狀態管理框架 Provider 和 Get 分析Flutter框架IDE
- Flutter(Flare) 最有趣使用者互動動畫沒有之一Flutter動畫
- 面試官問:Java 執行緒沒有 Running 狀態,為什麼?面試Java執行緒
- Flutter從靜態介面到抽取封裝Flutter封裝
- Flutter Widget 靜態佈局實戰Flutter
- 解決GITLAB無法啟動runsv no runningGitlab
- 《WebGL: Up and Running》封面動物揭祕——金水母Web
- 一直都沒有理解perl的正則
- 動靜態庫
- Python團隊還沒解散完,谷歌又對Flutter、Dart動手了Python谷歌FlutterDart
- 【Go】go get 自動代理Go
- 萬萬沒想到——flutter這樣外接紋理Flutter
- 《QTP自動化測試進階》China-Pub 預訂中QT
- 《一直顯示正在準備Windows,重啟也沒有用》Windows
- 小米手機 adb devices 一直卡住沒有響應dev