stealthcopter / AndroidNetworkTools

Set of useful android network tools
Apache License 2.0
1.39k stars 282 forks source link

not able use this in emulator #45

Closed nikhilgarg89 closed 4 years ago

nikhilgarg89 commented 6 years ago

do you know any workaround to make it working on emulator

stealthcopter commented 6 years ago

I've tested here and I've got the sample app working fine in an emulator. What was the issue you were having running it?

nikhilgarg89 commented 6 years ago

i was trying to ping my system network address and i was not getting the response.

stealthcopter commented 6 years ago

This is probably something to do with the networking of the emulator. If you can try in the emulator's shell and check if the system is pingable from there. Something like:

# Connect to emualtor's shell
adb shell

# Ping
ping 192.168.0.3