發表日期:2018-11 文章編輯:小燈 瀏覽次數:2727
安裝步驟見官網,中文官網。 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
解決方案:
git init
。不推薦 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,建議使用正式版。
日期:2018-10 瀏覽次數:7525
日期:2018-12 瀏覽次數:4598
日期:2018-07 瀏覽次數:5115
日期:2018-12 瀏覽次數:4402
日期:2018-09 瀏覽次數:5756
日期:2018-12 瀏覽次數:10180
日期:2018-11 瀏覽次數:5091
日期:2018-07 瀏覽次數:4845
日期:2018-05 瀏覽次數:5098
日期:2018-12 瀏覽次數:4562
日期:2018-10 瀏覽次數:5377
日期:2018-12 瀏覽次數:6438
日期:2018-11 瀏覽次數:4705
日期:2018-08 瀏覽次數:4850
日期:2018-11 瀏覽次數:12938
日期:2018-09 瀏覽次數:5858
日期:2018-12 瀏覽次數:5084
日期:2018-10 瀏覽次數:4423
日期:2018-11 瀏覽次數:4769
日期:2018-12 瀏覽次數:6299
日期:2018-06 瀏覽次數:4249
日期:2018-08 瀏覽次數:5697
日期:2018-10 瀏覽次數:4681
日期:2018-12 瀏覽次數:4792
日期:2018-07 瀏覽次數:4614
日期:2018-12 瀏覽次數:4783
日期:2018-06 瀏覽次數:4623
日期:2018-11 瀏覽次數:4603
日期:2018-12 瀏覽次數:4525
日期:2018-12 瀏覽次數:5507
Copyright ? 2013-2018 Tadeng NetWork Technology Co., LTD. All Rights Reserved.