Question

I am using Genymotion Emulator with Nexus s and 4.2.2.

Previously i used regular AVD that we can create using Eclipse provided by ANDROID SDK.

In regular AVD we can enable/disable data packet access to internet by using

Settings->Wireless&Networks->Data Enabled

Or by pressing F8 key but i am unable to found it in Genymotion emulator.

Where i can find it?

Was it helpful?

Solution

You cannot do that on Genymotion.

If you want to test what your application will do without internet access, you can unplug your ethernet cable or switch off your Wi-Fi. It's not the same but could still help to test your app.

OTHER TIPS

I hade this problem.

If you disable the internet and try to debug your app, the app will not be able to connect to vs code debug server.

This what you should do.

1- in your emulator, click Debug/settings and change the ip:port to the following localhost:your port eg 5555

2- disable the wifi and your app will start without internet but still able to connect to vs code

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top