tags:

views:

27

answers:

1

Hi,

I'm trying to point my emulator to an entry in etc host. It looks something like:

 100.20.30.40   api.mysite.com:4000

in my project, I want to be able to resolve urls like:

http://api.mysite.com/helloworld.php

but it can't seem to resolve. I know the etc host entry works because I can hit a url like the above using curl through terminal, the emulator just won't resolve it. Is there a way to use the -http-proxy parameter to make this work?

Thanks

A: 

You can add the entry in /etc/hosts of emulator by using shell.

Karan