Modifying Android `hosts` File

Aditya Purwa
1 min readOct 20, 2017

Make sure to run your emulator as writable, by using the command below:

$ emulator -avd <EMULATORNAME> -writable-system

Then remount the file system:

$ adb root
$ adb remount
$ adb push hosts system/etc/hosts

Note, your machine IP should be



Aditya Purwa

Building Playtune ( - Software engineer, writer, designer, and artist.