Skip to content

Instantly share code, notes, and snippets.

@voquanghoa
Last active March 18, 2022 16:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save voquanghoa/eb86daf4f82d3e98167f9102aa445321 to your computer and use it in GitHub Desktop.
Save voquanghoa/eb86daf4f82d3e98167f9102aa445321 to your computer and use it in GitHub Desktop.
Some useful adb commands for all developers

1. Get Device local IP

adb shell ifconfig wlan0

2. Wireless ADB

adb tcpip 5556
adb connect 192.168.1.2:5556

3. Logcat

Show log

adb logcat

Clear buffer

adb logcat -c
@TranHuuTrung
Copy link

TranHuuTrung commented Dec 24, 2019

Stop` server:

adb kill-server

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment