Skip to content

Instantly share code, notes, and snippets.

@tovbinm
Created May 4, 2012 21:39
Show Gist options
  • Save tovbinm/2597921 to your computer and use it in GitHub Desktop.
Save tovbinm/2597921 to your computer and use it in GitHub Desktop.
Modify hosts file on Android device
10.0.2.2 myHostMachine
adb remount
adb push ~/android.hosts /system/etc/hosts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment