Thanks to this SO answer for providing all the details! The below workflow has been tested on a Windows machine.
Enable Developer Options on the Android phone. Toggle
- Connect your Android phone with a USB cable and accept whatever pop up appears.
- You should now see your phone listed. Running
flutter devicesshould also list the device.
Choose the device and run the the app with the debugger. The app should open in your phone.
If it fails to build, keep an eye on the
Debug consoleof your IDE, in my case VS Code.
Top comments (0)