Modifying Android `hosts` File

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

$ emulator -avd <EMULATORNAME> -writable-system

Then remount the file system:

Note, your machine IP should be 10.0.2.2.

--

--

Building Playtune (https://playtune.app) - Software engineer, writer, designer, and artist.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store