Once added, save and close the bash_profile.
Add this to the existing $PATH variable by using : in between two paths. If you extracted flutter in your Applications folder, your path will be /Applications/flutter/bin. To do this, open your bash profile from your terminal (might need sudo)Īdd your flutter path to the $PATH variable in bash_profile.Į.g. Extract the file in the desired location e.g.
How to Install Flutter on MacOS? Minimum System Requirements
If you want Flutter to use a different installation of the Android SDK, you must set the ANDROID_HOME environment variable to that installation directory. In the terminal, run the flutter devices command to verify that Flutter recognizes your connected Android device.īy default, Flutter uses the version of the Android SDK where your adb tool is based.If prompted on your device, authorize your computer to access your device. Using a USB cable, plug your phone into your computer.
Android Setup Flutter relies on a full installation of Android Studio to supply its Android platform dependencies.
Check the output carefully for other software you may need to install or further tasks to perform (shown in bold text).įor example: Android toolchain - develop for Android devices This command checks your environment and displays a report of the status of your Flutter installation. Run flutter doctorįrom a console window which has the Flutter directory in the path (see above), run the following command to see if there are any platform dependencies you need to complete the setup: C:\flutter>flutter doctor Note that you will have to close and reopen any existing console windows for these changes to take effect.