我正在编写一个用于互联网的应用程序。问题是,我有一个代理问题。我已经在网上阅读了一些文章,但没有任何帮助。当我使用
从命令行启动 avd 时
emulator -avd <avd-Name> -http-proxy http:<proxyname>:<proxyip> -debug-proxy
我有错误消息:
Could not connect to proxy at http:0: Unkown socket error (Winsock=0xffffffff) errno=2: No such file or directory
感谢帮助
最佳答案
您是否使用了正确的语法?
它应该是以下之一:
http://<server>:<port>
http://<username>:<password>@<server>:<port>
http://developer.android.com/guide/developing/tools/emulator.html
如果那样不行,也许试试(另一个)公共(public)代理
关于java - 无法连接到 Android 中的代理,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6952879/