I am trying to run wget command from adb shell but it is giving me wget: bad address everytime. And if i run wget from normal terminal it works. So there is no problem with the network connection as I am able to ping severs. I even tried wget IP address but no use. Please share your answers
It seems that your copy of the busybox
is not fully Android compatible. Most likely it's just statically linked with GNU libc
instead of the bionic
(Android alternative). Most functions work fine but some things like DNS resolving do not. You need to get a proper Android version of busybox
for wget
to be able to resolve host names.
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