Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save isaac-tribal/b11ff561a090183ae398b40dc3ea861f to your computer and use it in GitHub Desktop.
Save isaac-tribal/b11ff561a090183ae398b40dc3ea861f to your computer and use it in GitHub Desktop.
Setup wifi for android development
#!/usr/bin/env bash
#Set Listener on the phone
adb tcpip 5555
DEVICE_IP=192.168.137.65
#Connect to the phone
#adb connect <IP address of your device>:5555
adb connect $DEVICE_IP:5555
#React Native Guide
#adb -s <device name> reverse tcp:8081 tcp:8081
adb -s $DEVICE_IP reverse tcp:8081 tcp:8081
#Reactotron
adb reverse tcp:9090 tcp:9090
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment