No internet connection on Android emulator

一笑奈何 提交于 2019-12-12 04:19:08

问题


When i use an AVD with Android 4.0.3 specified as target I can use the browser and view the pages. But when I use Google API as target I have no connection(i get the next error: "This application requires a working data connection"). I start both AVDs with the same parameters: C:\Users\blahblah\android-sdk-windows\tools>emulator.exe -avd AvdName -http-proxy http://123.456.789.123:5678 (Not the actual proxy adress =) ). What could be the problem?


回答1:


Please check whether you can see the 3g symbol in the top bar. If not go to Settings> Wireless & Networks> Mobile Networks> and check whether Data enabled is checked, If it is not checked do it. Else simply press F8. Since you started the AVD with proxy address this must be the problem.



来源:https://stackoverflow.com/questions/9620548/no-internet-connection-on-android-emulator

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!