Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/cassandra/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Android emulator上没有internet连接_Android_Internet Connection - Fatal编程技术网

Android emulator上没有internet连接

Android emulator上没有internet连接,android,internet-connection,Android,Internet Connection,当我使用Android 4.0.3指定为目标的AVD时,我可以使用浏览器查看页面。但是当我使用GoogleAPI作为目标时,我没有连接(我得到了下一个错误:“这个应用程序需要一个工作数据连接”)。我使用相同的参数启动两个AVD: C:\Users\blahblah\android sdk windows\tools>emulator.exe-avd AvdName-http proxy(不是实际的代理地址=)。可能是什么问题?请检查是否可以在顶部栏中看到3g符号。 如果没有,请转到设置>无线和网

当我使用Android 4.0.3指定为目标的AVD时,我可以使用浏览器查看页面。但是当我使用GoogleAPI作为目标时,我没有连接(我得到了下一个错误:“这个应用程序需要一个工作数据连接”)。我使用相同的参数启动两个AVD:
C:\Users\blahblah\android sdk windows\tools>emulator.exe-avd AvdName-http proxy(不是实际的代理地址=)。可能是什么问题?

请检查是否可以在顶部栏中看到3g符号。 如果没有,请转到设置>无线和网络>移动网络> 并检查是否选中了数据启用,如果未选中,则执行该操作。 否则只需按F8键。
由于您使用代理地址启动AVD,这一定是问题所在。

您是否为应用程序设置了所需的权限?我理解您的意思,但遗憾的是,事实并非如此。我正试图启动预安装的地图应用程序或浏览器,但我发现了错误。按F8键就可以了。当emulator处于焦点+1时,我不小心按了F8。