I am using Genymotion PaaS/Device Image on Albaba, in the Chinese zone, and Wifi/Internet is never connected.

1 month ago · Updated

Genymotion devices try to connect to google.com at boot to verify the Internet connection. Due to restrictions in China, this test fails and the device thinks that Internet is not connected.

To solve this, you need to manually change this setting:

1. Open a shell from the device UI (see ) 2. 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
   
3. Reboot the device

Wifi/Internet should now be reported as connected.