简体   繁体   English

将代理设置为Android模拟器

[英]Setting proxy to Android Emulator

I'm having a problem to surf internet on my Emulator, wich is targeting Google API8.I followed all the instructions I have read, setting the proxy in MobileNetworks-->APN--->....,etc, and doesn`t work. 我在模拟器上浏览互联网时遇到问题,它的目标是Google API8。我按照阅读的所有说明进行操作,在MobileNetworks-> APN ---> ....等中设置代理,并且没有工作。 If I remove the proxy, the browser navigates locally, and if I have the proxy configured it doesn't even navigate locally. 如果删除代理,浏览器将在本地导航,如果我配置了代理,它甚至不会在本地导航。 I tested the same coonfiguration on an emulator targeting API16 and did work !!!!(local and on the Internet), so please how can I solve this.Any help will be appreciated. 我在针对API16的仿真器上测试了相同的配置,并且可以正常工作 !!!!(本地和Internet上),所以请问如何解决此问题。 PD: I tested using -dns-server xxxx too and happens the same. PD:我也使用-dns-server xxxx进行了测试,并且发生的情况相同。

Emulator uses the internet connection from the host computer where it's installed. 仿真器使用来自已安装主机的Internet连接。

If the host computer doesn't need any special configuration to access internet (proxy, etc.), then your emulator doesn't need it either. 如果主机不需要任何特殊配置即可访问Internet(代理等),则您的模拟器也不需要它。

Only if your computer needs a proxy configuration (or other), you will need to replicate it in the emulator. 仅当您的计算机需要代理配置(或其他配置)时,才需要在模拟器中复制它。

Regards. 问候。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM