Skip to content

Instantly share code, notes, and snippets.

@nothingasis
Created September 12, 2019 17:51
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 nothingasis/6ddc2a9ee30d0fb75cef97ec5424e000 to your computer and use it in GitHub Desktop.
Save nothingasis/6ddc2a9ee30d0fb75cef97ec5424e000 to your computer and use it in GitHub Desktop.
Enables wireless USB debugging for Android development.
ECHO OFF
ECHO BEFORE YOU CAN USE WIRELESS ADB:
ECHO 0. Connect your device.
ECHO 1. Enabled USB Debugging.
ECHO 2. Connect to the same WiFi.
ECHO 3. Get the IP of your device.
set /P ip=Enter IP Address:
ECHO Connecting wireless adb...
adb kill-server
adb tcpip 5556
adb connect %ip%:5556
PAUSE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment