문제

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?

도움이 되었습니까?

해결책

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.

다른 팁

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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top