flutter (4): installed in linux flutter environment, sdk, Android Studio, downloaded from the Chinese mirror site, fast, plug-in installation, adjustment bios use x86 image, write a hello world.

Foreword


Related arduino All Categories:
https://blog.csdn.net/freewebsys/category_8957746.html

Original connection of this paper is:
https://blog.csdn.net/freewebsys/article/details/104242070

Bloggers may not be reproduced without the permit.
Bloggers address is: http://blog.csdn.net/freewebsys

1, on the flutter


Android Studio developers use to do, but fortunately, this tool has several domestic mirroring.

Studio download from here:

https://developer.android.google.cn/studio

Super fast speed, solve a lot of problems.

flutter download from here is also the mirror address:

https://flutter.cn/docs/get-started/install

2, using


Configure Android SDK environment, but fortunately this fast network speed.
Here Insert Picture Description

Bios of open virtualization technology.
Motherboard does not display the same keywords are not the same as its BISO, primarily found Virtualization Virtual or set it to Enabled.

Then you can use the Android SDK X86 mirroring. This is faster than ARM mirror.


Configuration environment variable:

export PATH="$PATH:/media/test/NewDisk1/opt/flutter/bin"
export ANDROID_HOME="/media/test/NewDisk1/opt/android-sdk"
# add from https://flutter.cn/
export FLUTTER_STORAGE_BASE_URL=https://storage.flutter-io.cn
export PUB_HOSTED_URL=https://pub.flutter-io.cn

Use flutter flutter doctor can check the state of the environment:

 flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, v1.12.13+hotfix.7, on Linux, locale zh_CN.UTF-8)
[✗] Android toolchain - develop for Android devices
    ✗ Unable to locate Android SDK.
      Install Android Studio from: https://developer.android.com/studio/index.html
      On first launch it will assist you in installing the Android SDK components.
      (or visit https://flutter.dev/setup/#android-setup for detailed instructions).
      If the Android SDK has been installed to a custom location, set ANDROID_HOME to that location.
      You may also want to add it to your PATH environment variable.

[!] Android Studio (version 3.5)
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.

Android Studio installed plug-ins:


Sometimes bad will the network environment, try several times, at night or in the morning when few people and then experiment.

All somehow, and then flutter doctor using the command:

$ flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, v1.12.13+hotfix.7, on Linux, locale zh_CN.UTF-8)
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
[✓] Android Studio (version 3.5)
[!] IntelliJ IDEA Community Edition (version 2019.3)
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
[!] Connected device
    ! No devices available

! Doctor found issues in 2 categories.

This description of all the environment and IDE tools can be had.

3, start


Then you can create your first project: the
Here Insert Picture Description
can see the flutter inside the project in the IDE.

5, learning videos


Are mature technologies, we do not search data, and direct it to see Netease video

https://study.163.com/course/courseMain.htm?courseId=1209427872

6, summed up


flutter is now very mature, have a 1.12.
And there are domestic sites can be accessed directly, download the tool speed is very fast of. In addition to installing the plug, the other came fast.
Develop their own simple applications, you can use next.

Original connection of this paper is:
https://blog.csdn.net/freewebsys/article/details/104242070

Bloggers address is: https://blog.csdn.net/freewebsys

Published 639 original articles · won praise 260 · Views 2.11 million +

Guess you like

Origin blog.csdn.net/freewebsys/article/details/104242070