flutter安裝開發環境-問題記錄

按照文檔快速開始
https://flutterchina.club/set...android

問題:brew install --HEAD libimobiledevice

配置Flutter中的ios環境時,執行brew install --HEAD libimobiledevice時,報異常ios

`^CError: Calling needs :cxx11 is disabled! There is no replacement.
Please report this to the homebrew/core tap:
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/cmake.rb:23 `git

clipboard.png

卸載brew,從新安裝;github

一、卸載brew,macos

執行命令:/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent...)"ruby

二、安裝brew,curl

執行命令:/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent...)" this

以後從新執行,brew install --HEAD libimobiledevice,就沒有錯誤了;url

緣由是由於升級mac系統致使brew部分功能不能使用的spa

解決方案出自 https://blog.csdn.net/LXFX110...

Error: Method not found: 'setState'

非狀態控件

下載安卓sdk

而後放到指定目錄/Users/zxd/Library/Android/sdk
https://www.androiddevtools.cn/

安裝vscode插件

https://marketplace.visualstu...
https://marketplace.visualstu...

參考文檔

https://book.flutterchina.club/
https://flutter.dev/docs/get-...
https://flutterchina.club/set...

相關文章
相關標籤/搜索