简体   繁体   English

Android:无法使用仿真器连接到互联网

[英]Android: Unable to connect to internet using Emulator

I have a LAN internet connection and also a wireless connection. 我有LAN互联网连接,也有无线连接。 For the past few weeks, I was able to connect to internet using the Android emulator. 在过去的几周中,我能够使用Android模拟器连接到互联网。 Today it stopped working. 今天它停止工作了。 Unable to find the reason. 无法找到原因。

Saw other questions on stack overflow which talk about proxy. 在堆栈溢出中看到了其他有关代理的问题。 Don't know whether wireless connections are also behind proxy and if there is where to find it. 不知道无线连接是否也位于代理之后,以及是否在哪里可以找到它。

in emulator settings - wireless & networks - mobile networks - access point names - telkila 在模拟器设置中-无线和网络-移动网络-接入点名称-telkila

set proxy and port 设置代理和端口

OR 要么

Run - Run Configurations.. - select application from Android Application - Target tab - Additional Emulator Command Line Options 运行-运行配置..-从Android应用程序中选择应用程序-目标选项卡-其他模拟器命令行选项

-http-proxy http://:/ -http-proxy http://:/

The answer to my question 我的问题的答案

Upgraded to SDK 2.3 - now no emulators have connectivity 升级到SDK 2.3-现在没有仿真器具有连接性

might be of help, as may be my final comment to the answer. 可能会有所帮助,可能是我对答案的最后评论。

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

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