Skip to content

Instantly share code, notes, and snippets.

@wifeofvillon
Created November 30, 2018 04:59
Show Gist options
  • Save wifeofvillon/699d57df5199537011a8f52c6ece3932 to your computer and use it in GitHub Desktop.
Save wifeofvillon/699d57df5199537011a8f52c6ece3932 to your computer and use it in GitHub Desktop.

Steps to Get Start Flutter

as a premise

  • MacOS (10.13.4)
  • Android Studio (ver.3.1.2) has been installed

install Dart & Flutter SDK

# install Dart SDK
$ brew tap dart-lang/dart
$ brew install dart

# install Flutter SDK
# download zip file from web: https://flutter.io/docs/get-started/install/macos#set-up-your-android-device
$ cd ~/Library
$ unzip ~/Downloads/flutter_macos_v0.11.12-beta.zip
$ export PATH=$PATH:`pwd`/flutter/bin
$ flutter doctor

Android

  1. clone new Flutter repository
  2. launch Android Studio and add new Project (File > Open...)
  3. install plugins (Preferences > Plugins > Browse repositories...)
  4. add Dart & Flutter SDK path (Preferences > Languages & Frameworks)
Because hermes depends on flutter_test any from sdk which doesn't exist (the Flutter SDK is not available), version solving failed.

Flutter users should run `flutter packages get` instead of `pub get`.

:thinking_face:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment