How to turn on the Wi-Fi on android emulator devic

2019-01-27 19:42发布

问题:

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.