Skip to content

Instantly share code, notes, and snippets.

@kirmartuk
Last active April 27, 2021 12:31
Show Gist options
  • Save kirmartuk/2971a4dcf63148508ae9edb53f352fc7 to your computer and use it in GitHub Desktop.
Save kirmartuk/2971a4dcf63148508ae9edb53f352fc7 to your computer and use it in GitHub Desktop.
Simple cmd script for conencting adb via wifi (Windows)
set port=%1
:: Change ip address, which you can see on your android phone in adb settings. Now using a simple ip
C:\Users\<UserName>\AppData\Local\Android\Sdk\platform-tools\adb.exe connect 192.168.0.3:%port%
@kirmartuk
Copy link
Author

execute this file in cmd console
adb_wifi_script.cmd 31200
31200 - is example port

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