How to debug by wifi with adb

Debugging over USB is hard and frustrating. This is why I love wifi debugging. Here is the easiest and fastest way to debug your app over wifi, and no root needed.

First you need to save adb path into your Windows environment path, Let’s assume you did that already.

  1. Activate debug mode in Android
  2. Connect to same wifi both phone and PC. Connect to PC via USB.
  3. Open command prompt type: adb tcpip 5555
  4. Find out the IP address of the Android device:
    Go to phone Settings  ->  About phone/tablet -> Status -> IP address
  5. adb connect 192.168.x.xxx (put your phone’s IP address here)
  6. Disconnect your tablet or smartphone from pc
  7. Check connected devices $ adb devices
  8. If you need to disconnect just type adb disconnect 192.168.x.xxx

Dodaj komentarz

Twój adres e-mail nie zostanie opublikowany. Wymagane pola są oznaczone *