Wireless Debugging — Flutter & Android
Debug your apps via LAN.
Why this story?
It is a huge headache for a Mobile developer when he debugs his apps in physical devices, due to the USB loose mount or poor slots. Because I faced this problem very much. When I searched on the internet I found some coolest and dumbest answers. It took almost 30mins to solve. So I had decided to write the steps a story.
How we solved?
Try the following steps:
- Make sure you have adb installed.
2. For the first time, you need to connect your device to the PC with USB Cable. And also make sure your devices and PC are connected to the same network.
3. In your mobile, Go to Settings > About Phone > Find the IP Address there.
4. Now in your command prompt, run this command.
adb tcpip 5555
5. Now run this command,
adb connect 192.168.137.112
You will get a result like,
Now unplug your mobile now start to debug.
This works for me, Kindly leave us your questions in the response area. We are open to respond soon.
Thanks,