Date post: | 22-Nov-2014 |
Category: |
Technology |
Upload: | sarath-nair |
View: | 155 times |
Download: | 2 times |
Wireless Debugging with Android
@sarat architect, experion technologies
no more damaged cables and USB ports
get rid of wires and go wireless
Setup
Setup
• Connect your device over USB port
• Enable USB debugging if prompted
• Make a note of your IP of your device (See this by tapping on connected wireless network under settings)
• Now fire up your terminal
Setup
~ $ cd ~/android-sdks/platform-tools/ !
platform-tools $ ./adb tcpip <port> !
platform-tools $ ./adb connect <device ip>
Example
~ $ cd ~/android-sdks/platform-tools/ !
platform-tools $ ./adb tcpip 5555 * daemon not running. starting it now on port 5037 * * daemon started successfully * restarting in TCP mode port: 5555
!
platform-tools $ ./adb connect 192.168.1.2 connected to 192.168.1.2:5555
Disconnect from USB port
Open up your favorite IDE (Eclipse or Android Studio)
See it in action!
Done? Now switch back
~ $ adb -s <device ip>:5555 usb
Happy Debugging!