Last active
August 29, 2015 14:00
-
-
Save mid0111/11275359 to your computer and use it in GitHub Desktop.
wi-fi経由でadb connect
This file contains hidden or 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
# wi-fi経由でadb connect | |
CONNECTION_PORT="5555" | |
DEVICE_IP="192.168.0.2" | |
ANDROID_SDK_HOME="/usr/local/android-sdk-linux" | |
${ANDROID_SDK_HOME}/platform-tools/adb tcpip ${CONNECTION_PORT} | |
sleep 1 | |
${ANDROID_SDK_HOME}/platform-tools/adb connect ${DEVICE_IP} | |
sleep 1 | |
${ANDROID_SDK_HOME}/platform-tools/adb devices |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment