问题
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. 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?
My emulator is connected to internet presently and can open sites through browser.
回答1:
You need to set an intermediate proxy as Android emulator doesn't have options to set internal server URLs which don't need proxies. Try the approach suggested here. It works!
来源:https://stackoverflow.com/questions/37293787/how-to-bypass-proxy-for-a-specific-url-in-android-emulator