Section 1 – Android studio of the flutter tutorial configures the flutter project (and runs the first project)

Time:2021-12-2

Little t takes you to understand easily~

1. Download the fluent SDK
(if you don’t know the difference between different versions, you can refer to this article)Section 1 - Android studio of the flutter tutorial configures the flutter project (and runs the first project)

(the differences between different versions of flutter have not been released yet, please look forward to ~)

Fluttersdk download address: https://flutter.dev/docs/deve… (wall climbing required)

(you can find enthusiastic little t to get it)Section 1 - Android studio of the flutter tutorial configures the flutter project (and runs the first project)

2. Unzip the downloaded zip to your own disk directory
(the path of small t is D: \ fluent. Note that do not install fluent to a path that requires some high permissions, such as C: \ program files \)

Then configure the flutter system environment in the system variable path
Section 1 - Android studio of the flutter tutorial configures the flutter project (and runs the first project)

3. Because the official website of fluent needs to climb over the wall, some fluent commands may not be available. Here we need to configure the temporary image built by the domestic God
PUB_HOSTED_URL=https://pub.flutter-io.cn
Section 1 - Android studio of the flutter tutorial configures the flutter project (and runs the first project)

FLUTTER_STORAGE_BASE_URL=https://storage.flutter-io.cn
Section 1 - Android studio of the flutter tutorial configures the flutter project (and runs the first project)

Restart windows to apply this change

4. Press Win + R to open CMD and enter the fluent doctor. If the following figure appears, it indicates that the configuration of the fluent environment is successful
Section 1 - Android studio of the flutter tutorial configures the flutter project (and runs the first project)

(it doesn’t matter if you don’t check it. The following tutorials will solve it one by one)Section 1 - Android studio of the flutter tutorial configures the flutter project (and runs the first project)

5. Open Android studio, Ctrl + S + Alt to open the plug-in installation interface, or find file — > setting; (casually enter a file)
Section 1 - Android studio of the flutter tutorial configures the flutter project (and runs the first project)

The first step is to open plugins. The second step is to install fluent and dart in the marketplace.

Section 1 - Android studio of the flutter tutorial configures the flutter project (and runs the first project)

After successful installation, you can see the installed plug-ins in installed

Section 1 - Android studio of the flutter tutorial configures the flutter project (and runs the first project)

Then restart Android studio!

Open it again to create the fluent project~

6. Create and run the first fluent project (there will be thousands of problems here)
In case of creating or running bugs, please refer to this summary of running bugs for the first time (summary of blood and tears)Section 1 - Android studio of the flutter tutorial configures the flutter project (and runs the first project)

Step 1: new shuttle project

Section 1 - Android studio of the flutter tutorial configures the flutter project (and runs the first project)

Select the module you want, and the first one is the fluent project

If you want to write your own plug-in, please refer to this article

I don’t know how to mix Android native and fluent. Please refer to this article

Select next directly
Section 1 - Android studio of the flutter tutorial configures the flutter project (and runs the first project)

Configure the fluent project, and then go to next

Finish               

Section 1 - Android studio of the flutter tutorial configures the flutter project (and runs the first project)

We are now finally entering the flutter project

Select simulator run

Section 1 - Android studio of the flutter tutorial configures the flutter project (and runs the first project)

The first run will download the required gradle, which is a little slow

success!!!
Section 1 - Android studio of the flutter tutorial configures the flutter project (and runs the first project)

Section 1 - Android studio of the flutter tutorial configures the flutter project (and runs the first project)
Welcome to leave a message for correction~

I am a humorous programmer   I’ll see you next time~

You can join our flutter technology exchange group and learn together. There are flutter and Android technology resources I share (go in while there are few people, and you will be a veteran ~)

Section 1 - Android studio of the flutter tutorial configures the flutter project (and runs the first project)