android 模拟器 wget 不可用

来源:互联网 发布:java的socket通信 编辑:程序博客网 时间:2024/05/23 12:09
You may or may not have noticed that busybox utilities that require DNS lookups aren't working (nslookup,traceroute,wget). Here is a simple fix:

I didn't find a resolv.conf so I added one and it started working.

adb remount
adb shell
echo "nameserver 8.8.8.8" > /system/etc/resolv.conf

8.8.8.8 is one of Google's public nameservers, you may want to add another for redundancy 

Rerun the above echo but make sure to use >>


http://forum.xda-developers.com/showthread.php?t=998937

0 0
原创粉丝点击