Tip: How to enable wireless debugging with Android?

csarath 1,025 views 12 slides Jul 04, 2014
Slide 1
Slide 1 of 12
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12

About This Presentation

No more damaged cables and USB ports.


Slide Content

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!