Debugging Flutter Apps Wirelessly: A Step-by-Step Guide

Manoj KulkarniManoj Kulkarni
2 min read

Introduction:

In this article, we will explore how to connect a real Android device to our computer wirelessly and use the connected device for debugging purposes.

Prerequisite:

Steps:

  • Open up Settings app on your android device.

  • Go to Developer Options.

  • Make sure the Developer Options is turned on.

  • Under Developer Options find Wireless Debugging option and click on it.

  • Turn on Wireless Debugging option. After turning it on, you may see a popup as shown below displaying the network name and WIFI address. Just click Allow.

  • Once you click the ‘Allow’ button, you’ll see some cool info pop up on the screen.

  • Open up terminal and execute below command in the terminal.

  •   adb connect <ip_address>:<port_number>
    
  • In above command, use the IP address and port number mentioned on Wireless debugging screen.

  • After successful execution of above command, you can now use your android device for debugging purpose in Visual Studio Code.

I have also created a YouTube video regarding this topic, so if you would like to watch a video tutorial, then please go to https://youtu.be/fHFgE51NZhk

Conclusion:

In conclusion, wireless debugging in Flutter offers a convenient and efficient way to test and debug applications on real Android devices without the need for physical connections. By following the steps outlined in this article, developers can easily set up wireless debugging, enhancing their workflow and productivity. This method not only simplifies the debugging process but also provides flexibility, allowing developers to move freely without being tethered to their computers. For those who prefer visual guidance, the accompanying YouTube video serves as an excellent resource to further understand the process. Embracing wireless debugging can significantly streamline the development experience in Flutter. I hope you found the article helpful.

Happy Coding!

0
Subscribe to my newsletter

Read articles from Manoj Kulkarni directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Manoj Kulkarni
Manoj Kulkarni

I am programmer, blogger and foodie. I just love computers, coding and technical things. I spend most of my free time working on building my skill set by reading technical articles about new technologies or books on software development and try to keep my self updated as much as I can.