Thursday, December 17, 2015

Pro Tip for Android ADB

Guys who face usb connection issues due to the cable/device can try this

1. Connect the device (after so many attempt)
2. Open cmd, and enter 'adb tcpip 5555'
3. Now disconnect the device.
4. Get the ip address of the device you are using (Settings->Status->Ip Address)
5. Now in cmd, type 'adb connect <ip address from above step>

Check 'adb devices' and you can see the connection to your ip address.

Its very useful for automation execution as well where it can be connected to power source instead of desktop

Note: It doesn't require the device to be rooted.

No comments:

Post a Comment