国产精品主播叶子闺蜜_三级高清精品国产_99久久精品国产麻豆_国产精品无码免费专区午夜

歡迎您光臨深圳塔燈網絡科技有限公司!
電話圖標 余先生:13699882642

網站百科

為您解碼網站建設的點點滴滴

Mac安裝配置Flutter注意事項

發表日期:2018-11 文章編輯:小燈 瀏覽次數:3062

安裝步驟見官網,中文官網。 github地址

一. 如果你是download的release包,運行flutter doctor會報如下錯誤:

Error: The Flutter directory is not a clone of the GitHub project.The flutter tool requires Git in order to operate properly;to set up Flutter, run the following command:git clone -b beta https://github.com/flutter/flutter.git 

解決方案:

  1. 在flutter目錄執行git init不推薦
  2. git clone https://github.com/flutter/flutter.git 或者按官方推薦git clone -b beta https://github.com/flutter/flutter.git 使用beta分支。

二、安裝中文版教程中安裝iOS設備的工具時會報錯:

checking pkg-config is at least version 0.9.0... yes checking for libusbmuxd >= 1.1.0... no configure: error: Package requirements (libusbmuxd >= 1.1.0) were not met:Requested 'libusbmuxd >= 1.1.0' but version of libusbmuxd is 1.0.10 

解決方案在英文版中已經提供:

 brew update # The following two steps are a temporary workaround to https://github.com/flutter/flutter/issues/22595brew install --HEAD usbmuxdbrew link usbmuxdbrew install --HEAD libimobiledevicebrew install ideviceinstaller ios-deploy cocoapodspod setup 

所以還是推薦大家去看英文原版教程,更新比較及時。

三、最新的Android Studio Preview版本不支持flutter,建議使用正式版。


本頁內容由塔燈網絡科技有限公司通過網絡收集編輯所得,所有資料僅供用戶學習參考,本站不擁有所有權,如您認為本網頁中由涉嫌抄襲的內容,請及時與我們聯系,并提供相關證據,工作人員會在5工作日內聯系您,一經查實,本站立刻刪除侵權內容。本文鏈接:http://www.juherenli.com/17660.html
相關APP開發