简体   繁体   English

如何在Android模拟器中绕过特定URL的代理

[英]How to bypass proxy for a specific URL in Android emulator

I am trying to hit web services in native android application and the IP address which I am trying to hit should bypass corporate proxy. 我试图在本机Android应用程序中点击Web服务,我试图击中的IP地址应绕过公司代理。 But to connect my emulator to internet I have to set proxy in emulator. 但是要将我的模拟器连接到互联网,我必须在模拟器中设置代理。 Is there anyway I can bypass proxy for this specific IP address in emulator? 无论如何我可以在模拟器中绕过这个特定IP地址的代理吗?

My emulator is connected to internet presently and can open sites through browser. 我的模拟器目前已连接到互联网,可以通过浏览器打开网站。

You need to set an intermediate proxy as Android emulator doesn't have options to set internal server URLs which don't need proxies. 您需要设置中间代理,因为Android模拟器没有选项来设置不需要代理的内部服务器URL。 Try the approach suggested here . 尝试这里建议的方法。 It works! 有用!

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

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