I am using Genymotion Device Image on Alibaba, in the Chinese zone, and Wifi/Internet is not connected.

Problem description

Genymotion devices try to connect to google.com at boot to verify the Internet connection.

Due to restrictions in China, the test fails.

The device thinks that Internet is not connected.

Manual fix

To solve this problem, you need to manually change the setting.

Open a shell from the device UI (see documentation).

Enter the following commands:

settings put global captive_portal_http_url https://www.google.cn/generate_204
settings put global captive_portal_https_url https://www.google.cn/generate_204
settings put global ntp_server 1.hk.pool.ntp.org

Reboot the device. Wifi/Internet should now be reported as connected.

Feedback

Was the article helpful?

4 out of 5 found the article helpful.

Need more help?

Request Technical Support

Related articles