Created
December 1, 2014 23:44
-
-
Save carwin/f8a265ff16eb096e2333 to your computer and use it in GitHub Desktop.
Update Android emulator hosts file
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
adb pull /system/etc/hosts /tmp/hosts | |
echo "192.168.57.1 test.example.com" >> /tmp/hosts | |
adb remount | |
adb push /tmp/hosts /system/etc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment