Last active
April 27, 2021 12:31
-
-
Save kirmartuk/2971a4dcf63148508ae9edb53f352fc7 to your computer and use it in GitHub Desktop.
Simple cmd script for conencting adb via wifi (Windows)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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% |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
execute this file in cmd console
adb_wifi_script.cmd 31200
31200 - is example port