Flutter筆記-安裝及開發第一Flutter應用
Choose system you are using. You need a macbook if you want to test flutter on ios.
flutter_install_guide.png
Some problem when installing Flutter 安裝過程遇到過的問題
I am an Android engineer, so I have android IDE. After I installed the Flutter and Dart plugin, there is no "New Flutter Project" option in IDE.
I search on the Google. I found this
# flutter upgrade
I run that command twice. At first time, it found two "Android Studio". The lower version has not install the flutter plugin, so I remove it. At second time, I get following message:
我執行了兩次這個命令。第一次發現存在沒有安裝Flutter外掛舊的AS版本,我將其移除。再次執行獲得到以下資訊:
Upgrading Flutter from /Library/Flutter/flutter... Already up to date. Upgrading engine... Already up-to-date. Flutter 0.9.4 • channel beta • Framework • revision f37c235c32 (4 weeks ago) • 2018-09-25 17:45:40 -0400Engine • revision 74625aed32 Tools • Dart 2.1.0-dev.5.0.flutter-a2eb050044 Running "flutter packages upgrade" in kiipu... 14.6s Running flutter doctor... Doctor summary (to see all details, run flutter doctor -v): [] Flutter (Channel beta, v0.9.4, on Mac OS X 10.13.6 17G65, locale zh-Hans-CN) [!] Android toolchain - develop for Android devices (Android SDK 27.0.3) ! Some Android licenses not accepted. To resolve this, run: flutter doctor --android-licenses [!] iOS toolchain - develop for iOS devices (Xcode 9.4.1) libimobiledevice and ideviceinstaller are not installed. To install, run: brew install --HEAD libimobiledevice brew install ideviceinstaller ios-deploy not installed. To install: brew install ios-deploy [] Android Studio (version 3.2) [!] VS Code (version 1.28.2) [] Connected devices (1 available) ! Doctor found issues in 3 categories.
You can find the method to resolve the problem(Solution is also provided in above stackoverflow link ):
從資訊可以找到可能的解決方案(stackoverflow 也有人提出此解決方案):
! Some Android licenses not accepted. To resolve this, run: flutter doctor --android-licenses
# flutter doctor --android-licenses
StackOverFlow
flutter_github_issue_23086
Problems when developing the first app:
安裝建立引用
在增加新的第三方庫時遇到了下面的問題:
# flutter --no-color packages get
作者:Jepack
連結:
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/3486/viewspace-2821619/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Flutter 學習筆記(一):第一個 Flutter 應用Flutter筆記
- 【Flutter 學習筆記一】Mac OS 安裝 FlutterFlutter筆記Mac
- Flutter 學習筆記① 第一個 Flutter AppFlutter筆記APP
- Flutter學習筆記 - 安裝,映象,配置Flutter筆記
- [譯] 用 Flutter 開發你的第一個應用程式Flutter
- Flutter開發環境安裝Flutter開發環境
- Flutter應用Windows安裝包建立教程FlutterWindows
- 使用 Flutter 加速應用開發Flutter
- ubuntu 安裝 flutter 開發環境UbuntuFlutter開發環境
- Flutter學習指南:編寫第一個Flutter應用Flutter
- Flutter入坑指南:編寫第一個Flutter應用Flutter
- flutter開發使用blutter開源庫逆向flutter應用步驟Flutter
- 安裝與配置Flutter開發環境Flutter開發環境
- Flutter安裝Flutter
- Flutter 安裝Flutter
- 筆記-Flutter開發環境搭建Mac版筆記Flutter開發環境Mac
- 快速上手系列--Flutter應用開發模板Flutter
- Flutter基礎(四)開發Flutter應用前需要掌握的Basics WidgetFlutter
- Flutter 基礎(四)開發 Flutter 應用前需要掌握的 Basics WidgetFlutter
- Flutter環境搭建以及開發軟體安裝Flutter
- Flutter搭建開發環境和工具安裝配置Flutter開發環境
- Flutter外掛開發之APK自動安裝FlutterAPK
- 使用 Flutter 開發簡單的 Web 應用FlutterWeb
- 如何用 Flutter開發一個直播應用Flutter
- 【Flutter 1-2】在 Windows 10下安裝Flutter+Dart+Android Studio 配置Flutter開發環境FlutterWindowsDartAndroid開發環境
- Flutter 如何釋出安卓應用?Flutter安卓
- Mac Flutter 安裝MacFlutter
- macOS 安裝 flutterMacFlutter
- Flutter-安裝步驟及安裝遇到的問題Flutter
- iOS開發從零學習Flutter之一在mac上安裝FlutteriOSFlutterMac
- Mac下安裝Flutter,並建立第一個AppMacFlutterAPP
- 我的第一個Flutter 應用Demo AireportFlutterAI
- 用Android Stuidio開發FlutterAndroidUIFlutter
- 學起來:Flutter將支援桌面應用開發Flutter
- Flutter 學習筆記Flutter筆記
- Flutter起步之安裝Flutter
- Flutter開發日記——Flutter佈局Widget詳解(下)Flutter
- Flutter開發日記——Flutter佈局Widget詳解(上)Flutter