Skip to content

Instantly share code, notes, and snippets.

@bbrewer97202
Created October 25, 2013 20:11
Show Gist options
  • Save bbrewer97202/7161113 to your computer and use it in GitHub Desktop.
Save bbrewer97202/7161113 to your computer and use it in GitHub Desktop.
Add/Update a hosts file on Android SDK emulator
$ adb remount
$ adb pull /system/etc/hosts tmp/hosts
$ vi tmp/hosts
$ adb push tmp/hosts /system/etc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment