Skip to content

Instantly share code, notes, and snippets.

@mid0111
Last active August 29, 2015 14:00
Show Gist options
  • Save mid0111/11275359 to your computer and use it in GitHub Desktop.
Save mid0111/11275359 to your computer and use it in GitHub Desktop.
wi-fi経由でadb connect
# 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