V
V
Victor2018-03-19 11:08:30
Android
Victor, 2018-03-19 11:08:30

How to prevent a virtual device from accessing the network in Android Studio + AVD (not airplane mode)?

Essence of the question:
There is Android Studio and Android AVD (phone emulator)
Task:
Cut off the Internet on the device, not turning on the airplane mode in the device itself - checking what the program will do if it cannot reach the Internet.
So far, I could only solve it by cutting off the Internet on the host machine, which is inconvenient.
There must be some other solution, not so drastic ....

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
aol-nnov, 2018-03-19
@aol-nnov

firewall filtering by process id?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question