Step 5: Download and Install Android Studio
Continue by downloading Android Studio. In the setup, unless you have specific requirements, you can click Next on all screens leaving the default settings. Ensure that the Android Virtual Device option is selected on the Choose Components screen so that you can have an Android emulator running for Android app development.
Afterward, Android Studio Setup Wizard will start and you can proceed by clicking Next.
Select the installation location or leave the default path and click Next.
Select your UI theme and click Next.
Select your SDK components and click Next.
Verify the selections and click Next. Then, accept the License Agreement and click Finish.
The download of the components will start and Android Studio install. Once completed, click Finish.
After the installation, start Android Studio. On the left side, click Plugins. Search for Flutter and click Install to install the Flutter plugin.
It will also prompt you to install Dart, a programming language used to create Flutter apps. Click Install at the prompt. Finally, click Restart IDE so that the plugin changes are applied. Click Restart at the prompt to confirm this action.
Afterward, run the flutter doctorcommand in CMD to confirm the Android Studio installation.
Doctor summary (to see all details, run flutter doctor -v):[√] Flutter (Channel stable, 2.10.4, on Microsoft Windows [version 10.0.19041.746), locale en-US)[!] Android toolchain – develop for Android devices (Android SDK version 32.1.0-rc1)
! Some Android licenses are not accepted. To resolve this, run: flutter doctor –android-licenses[√] Chrome – develop for the web[X] Visual Studio – develop for Windows
X Visual Studio is not installed; this is necessary for Windows development.
Download at https://visualstudio.microsoft.com/downloads/.
Please install the “Desktop development with C++- workload, including all of its default components[√] Android Studio (version 2021.1)[√] Connected device (2 available)[√] HTTP Host Availability
! Doctor found issues in 2 categories.