Set up your Android device

To prepare to run and test your Flutter app on an Android device,
you need an Android device running Android 4.1 (API level 16) or higher.

Enable Developer options and USB debugging on your device.
Detailed instructions are available in the
Android documentation.

Windows-only: Install the Google USB
Driver.

Using a USB cable, plug your phone into your computer. If prompted on your
device, authorize your computer to access your device.

In the terminal, run the flutter devices command to verify that
Flutter recognizes your connected Android device.  By default,
Flutter uses the version of the Android SDK where your adb
tool is based. If you want Flutter to use a different installation
of the Android SDK, you must set the ANDROID_SDK_ROOT environment
variable to that installation directory.

Set up the Android emulator

To prepare to run and test your Flutter app on the Android emulator,
follow these steps: