How to turn on the Wi-Fi on android emulator device?

佐手、 提交于 2019-12-18 07:44:57

问题


Today, I want to measure the Wi-Fi signal quality. So I download the Wi-Fi Analyzer app, and I install it on the emulator,but it showed that the Wi-Fi has not been turned on. Thus I turn it on, but it still shows errors.

I tried several times but it is still not working.

Any ideas?


回答1:


From Documentation. the Emulator Limitations are:

Emulator Limitations

In this release, the limitations of the emulator include:

No support for placing or receiving actual phone calls. You can simulate phone calls (placed and received) through the emulator console, however.
No support for USB connections
No support for camera/video capture (input).
No support for device-attached headphones
No support for determining connected state
No support for determining battery charge level and AC charging state
No support for determining SD card insert/eject
No support for Bluetooth

So determining Connected state does not work in Emulator. thats why you have facing the errors.




回答2:


I don't think that Android emulator supports Wi-Fi. See here for an alternative solution. Still I don't think you will be able to run Wi-Fi analyzer in the emulator.



来源:https://stackoverflow.com/questions/4067350/how-to-turn-on-the-wi-fi-on-android-emulator-device

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