How to download and install flutter in Android Studio
Press enter or click to view image in full size Android Studio:
- Android Studio is the official integrated development environment (IDE) for Android app development, built and distributed by Google.
- The Android Studio IDE is free to download and use.
Flutter technology:
- Flutter is an open source framework developed and supported by Google.
- Flutter technology is platform independent.
- Frontend and full-stack developers use Flutter to build an application’s user interface (UI) for multiple platforms with a single codebase.
Steps for downloading and installing flutter in Android Studio:
Press enter or click to view image in full size 1. Search “Flutter SDK Download” in the browser and then click the first suggestion.Press enter or click to view image in full size 2. Choose according to your OSPress enter or click to view image in full size 3. Click the pointed button.Press enter or click to view image in full size 4. Then your download will start.Press enter or click to view image in full size 5. Locate your zip folder and extract files.Press enter or click to view image in full size 6. Extract the zip folder in ‘c:’Press enter or click to view image in full size 7. You can locate Flutter folder in c:Press enter or click to view image in full size 8. Open Command Prompt and enter the command “flutter doctor”. You can see that flutter is not recognized.Press enter or click to view image in full size 9. For resolving the above issue, we’re going to add environmental variables. Search environmental variables in the start menuPress enter or click to view image in full size 10. Click environmental variables in the bottom left of the popup window.Press enter or click to view image in full size 11. In system variables, select “Path” and click “edit”.Press enter or click to view image in full size 12. Click new button.Press enter or click to view image in full size 13. Now open the bin folder in flutter folder.Press enter or click to view image in full size 14. Copy the path address of the bin folderPress enter or click to view image in full size 15. Paste the path address and click OK.Get Sivadharshini’s stories in your inbox
Join Medium for free to get updates from this writer.
You should restart your PC, After adding environmental variables
Press enter or click to view image in full size 16. Now run the “flutter doctor” command in cmd prompt. You’ll get the following result.To resolve the Android studio issue
Press enter or click to view image in full size 17. To resolve one of the issue, we need to download android studio. Search “Android studio download” in browser and open the 1st suggestion.Press enter or click to view image in full size 18. Click the pointed button to download Android studio.Press enter or click to view image in full size 19. Click next until installPress enter or click to view image in full size 20. After installing, click finish. Now Android Studio is successfully installed.Press enter or click to view image in full size D21. Now again, run the “flutter doctor” command in the cmd prompt. As you can see, the Android Studio issue is resolved.The Android toolchain issue can be resolved by following the steps below
Press enter or click to view image in full size 2. In that drop-down menu, choose SDK Manager.Press enter or click to view image in full size 3. Click SDK toolsPress enter or click to view image in full size 4. Select the “Android SDK Command-line Tools” and click download option. Then click OK.If you don’t see the above options, then choose “Show package details” in the bottom right corner of the above window.
Press enter or click to view image in full size 5.Click OK on this warning popup.Press enter or click to view image in full size 6. Android SDK command-line will start downloading. Once the download is finished, click ‘finish’.Press enter or click to view image in full size 7. Run the “Flutter doctor” command in cmd prompt, you can see one of Android toolchain issue is resolved.Press enter or click to view image in full size 8. To resolve another issue, copy the above command and run it.Press enter or click to view image in full size 9. Type ‘y’ and click enter.Press enter or click to view image in full size 10. Type ‘y’ until you get the above output.Some packages may not be accepted at first try.So try again to achieve the above output.
Press enter or click to view image in full size 11. Finally, the Android toolchain issue is resolved. The “visual studio issue” does not matter.12. To create flutter projects, we need to install “flutter plugins” in Android Studio .
Press enter or click to view image in full size 13.In plugins, search for Flutter and install it. After installing flutter plugins, restart the IDE.Press enter or click to view image in full size Now you can create your Flutter projects in Android Studio.I hope this tutorial helped you.
Follow for more❤️…