When running android emulator on a Windows box, if the Windows box is behind a proxy, then the android emulator will also need to config the proxy settings in order to get internet access. This can be easily verified by using mobile chrome browser to access www.google.com, if it fail, then likely it is due to proxy settings.
The below steps can be used for this:
1. From Android emulator, open settings app
2. Under Wireless & Networks section, click More...
3. click Mobile network item
4. click Access Point Names item
5. click T-Mobile US item
6. Set proxy to your proxy server's name, for example: proxy.phl.sap.corp
7. Set port to your proxy server's port, for example: 8080
8. Go back and open mobile browser, and visit http://www.google.com and it should work
No comments:
Post a Comment