How to simulate no internet on the emulator apart from disconnecting my computer, I still want to be connected via browser etc.
Setting the signal strength to none doesn't seem to stop apps from getting an internet connection.
Just hit the F8 key to enable or disable the Internet connection.
Sure, you can use android emulator offline. Almost all the features are included in the emulator to be used offline. You'll just need to go online when you want internet connectivity in the Apps you are testing on your emulator.
You can try airplane mode by tapping the relevant icon in the notification tray:
You might also try hitting F8 to "Toggle Cell Network" in the emulator although you may need to manually reconnect ADB after this procedure.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With