Android hosts file pushed to emulator, but no effect

Posted: October 13, 2015 in Android

I have succeed to set the hosts file in my emulator for a while, but recently it just stopped working. I can verify that the hosts was uploaded to the /etc directory, but it was just ignored by the system.

To solve it is extremely easy, just make sure that your hosts file has an extra line after the last line of text…

PS: if you don’t know how to modify the emulator hosts file, you can refer to my other post here


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s