-
-
[未解决,已结帖]
[悬赏][求助] android以太网可以ping通百度不能上网页
1000.00雪花
-
发表于:
2018-1-6 20:36
2610
-
[未解决,已结帖] [悬赏][求助] android以太网可以ping通百度不能上网页
1000.00雪花
我自己编译的android x86 5.1.1,用的以太网.
用手机自带的终端可以ping通www.baidu.com
但是却不能浏览网页.
以下是错误:
01-06 08:02:04.414 2536-2604/? W/System.err: java.net.UnknownHostException: Unable to resolve host "www.ip138.com": No address associated with hostname
01-06 08:02:04.414 2536-2604/? W/System.err: at java.net.InetAddress.lookupHostByName(InetAddress.java:427)
01-06 08:02:04.414 2536-2604/? W/System.err: at java.net.InetAddress.getAllByNameImpl(InetAddress.java:252)
01-06 08:02:04.414 2536-2604/? W/System.err: at java.net.InetAddress.getAllByName(InetAddress.java:215)
01-06 08:02:04.414 2536-2604/? W/System.err: at com.android.okhttp.HostResolver$1.getAllByName(HostResolver.java:29)
01-06 08:02:04.414 2536-2604/? W/System.err: at com.android.okhttp.internal.http.RouteSelector.resetNextInetSocketAddress(RouteSelector.java:232)
01-06 08:02:04.414 2536-2604/? W/System.err: at com.android.okhttp.internal.http.RouteSelector.next(RouteSelector.java:124)
01-06 08:02:04.414 2536-2604/? W/System.err: at com.android.okhttp.internal.http.HttpEngine.connect(HttpEngine.java:272)
01-06 08:02:04.414 2536-2604/? W/System.err: at com.android.okhttp.internal.http.HttpEngine.sendRequest(HttpEngine.java:211)
01-06 08:02:04.414 2536-2604/? W/System.err: at com.android.okhttp.internal.http.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:382)
01-06 08:02:04.414 2536-2604/? W/System.err: at com.android.okhttp.internal.http.HttpURLConnectionImpl.connect(HttpURLConnectionImpl.java:106)
[培训]内核驱动高级班,冲击BAT一流互联网大厂工作,每周日13:00-18:00直播授课