|
|
|
|
@ -6,8 +6,7 @@
|
|
|
|
|
* Unzip to `C:\tools`
|
|
|
|
|
* Add to environment path `C:\tools\flutter\bin`
|
|
|
|
|
* Install [Android Studio](https://developer.android.com/studio)
|
|
|
|
|
* Create Android Virtual Device (AVD) with API 29
|
|
|
|
|
* API 30 not supported
|
|
|
|
|
* Create Android Virtual Device (AVD). Ensure all SDK tools are up-to-date
|
|
|
|
|
* Add `vs code` plugin
|
|
|
|
|
* Flutter
|
|
|
|
|
|
|
|
|
|
@ -20,7 +19,7 @@ $ flutter create myapp
|
|
|
|
|
$ cd myapp
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
Launch AVD using Android Studio
|
|
|
|
|
Launch AVD using Android Studio.
|
|
|
|
|
|
|
|
|
|
Run the app
|
|
|
|
|
|
|
|
|
|
@ -28,7 +27,21 @@ Run the app
|
|
|
|
|
// check AVD connectivity
|
|
|
|
|
$ flutter devices
|
|
|
|
|
|
|
|
|
|
// check dependencies are up-to-date
|
|
|
|
|
$ flutter doctor
|
|
|
|
|
Doctor summary (to see all details, run flutter doctor -v):
|
|
|
|
|
[✓] Flutter (Channel master, 1.26.0-2.0.pre.200, on Microsoft Windows [Version 10.0.19042.685], locale en-SG)
|
|
|
|
|
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
|
|
|
|
|
[✓] Chrome - develop for the web
|
|
|
|
|
[✓] Android Studio (version 4.1.0)
|
|
|
|
|
[✓] IntelliJ IDEA Community Edition (version 2020.3)
|
|
|
|
|
[✓] VS Code (version 1.52.1)
|
|
|
|
|
[✓] Connected device (2 available)
|
|
|
|
|
|
|
|
|
|
• No issues found!
|
|
|
|
|
|
|
|
|
|
// run the app
|
|
|
|
|
$ flutter run
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
[Codelab Tutorial](https://flutter.dev/docs/get-started/codelab)
|