Created
March 19, 2016 09:41
-
-
Save leicht-io/ad4089844c3c0c11e3f8 to your computer and use it in GitHub Desktop.
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
@Echo off | |
set /p device_ip=Enter local device IP: | |
IF "%ANDROID_SDK_PATH%" == "" ( | |
ECHO SDK PATH IS NOT DEFINED | |
) else ( | |
SET sdk_path = "%ANDROID_SDK_PATH%\platform-tools" | |
cd /D %ANDROID_SDK_PATH%\platform-tools | |
adb kill-server | |
adb connect %device_ip%:5555 | |
pause | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment