04-10 11:03:03.101: W/ActivityThread(413): Application com.example.testhttpclient2 is waiting for the debugger on port 8100...
04-10 11:03:03.121: I/System.out(413): Sending WAIT chunk
04-10 11:03:03.262: I/dalvikvm(413): Debugger is active
04-10 11:03:03.321: I/System.out(413): Debugger has connected
04-10 11:03:03.321: I/System.out(413): waiting for debugger to settle...
04-10 11:03:03.531: I/System.out(413): waiting for debugger to settle...
04-10 11:03:03.731: I/System.out(413): waiting for debugger to settle...
04-10 11:03:03.931: I/System.out(413): waiting for debugger to settle...
04-10 11:03:04.131: I/System.out(413): waiting for debugger to settle...
04-10 11:03:04.331: I/System.out(413): waiting for debugger to settle...
04-10 11:03:04.532: I/System.out(413): waiting for debugger to settle...
04-10 11:03:04.731: I/System.out(413): waiting for debugger to settle...
04-10 11:03:04.942: I/System.out(413): waiting for debugger to settle...
04-10 11:03:05.143: I/System.out(413): waiting for debugger to settle...
04-10 11:03:05.346: I/System.out(413): debugger has settled (1321)
04-10 11:03:07.901: I/ActivityManager(61): Displayed com.example.testhttpclient2/.MainActivity: +5s533ms
04-10 11:03:13.021: D/dalvikvm(130): GC_EXPLICIT freed 127K, 51% free 2903K/5831K, external 2142K/2590K, paused 63ms
04-10 11:03:22.791: D/SntpClient(61): request time failed: java.net.SocketException: Address family not supported by protocol
04-10 11:04:31.651: W/System.err(413): java.net.UnknownHostException: www.baidu.com
04-10 11:04:31.681: W/System.err(413): at java.net.InetAddress.lookupHostByName(InetAddress.java:506)
04-10 11:04:31.692: W/System.err(413): at java.net.InetAddress.getAllByNameImpl(InetAddress.java:294)
04-10 11:04:31.692: W/System.err(413): at java.net.InetAddress.getAllByName(InetAddress.java:256)
04-10 11:04:31.711: W/System.err(413): at java.net.Socket.tryAllAddresses(Socket.java:130)
04-10 11:04:31.711: W/System.err(413): at java.net.Socket.<init>(Socket.java:209)
04-10 11:04:31.731: W/System.err(413): at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:80)
04-10 11:04:31.731: W/System.err(413): at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:122)
04-10 11:04:31.741: W/System.err(413): at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707)
04-10 11:04:31.741: W/System.err(413): at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387)
04-10 11:04:31.741: W/System.err(413): at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
04-10 11:04:31.751: W/System.err(413): at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
04-10 11:04:31.751: W/System.err(413): at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323)
04-10 11:04:31.761: W/System.err(413): at com.example.testhttpclient2.MainActivity$2.run(MainActivity.java:143)
04-10 11:03:03.121: I/System.out(413): Sending WAIT chunk
04-10 11:03:03.262: I/dalvikvm(413): Debugger is active
04-10 11:03:03.321: I/System.out(413): Debugger has connected
04-10 11:03:03.321: I/System.out(413): waiting for debugger to settle...
04-10 11:03:03.531: I/System.out(413): waiting for debugger to settle...
04-10 11:03:03.731: I/System.out(413): waiting for debugger to settle...
04-10 11:03:03.931: I/System.out(413): waiting for debugger to settle...
04-10 11:03:04.131: I/System.out(413): waiting for debugger to settle...
04-10 11:03:04.331: I/System.out(413): waiting for debugger to settle...
04-10 11:03:04.532: I/System.out(413): waiting for debugger to settle...
04-10 11:03:04.731: I/System.out(413): waiting for debugger to settle...
04-10 11:03:04.942: I/System.out(413): waiting for debugger to settle...
04-10 11:03:05.143: I/System.out(413): waiting for debugger to settle...
04-10 11:03:05.346: I/System.out(413): debugger has settled (1321)
04-10 11:03:07.901: I/ActivityManager(61): Displayed com.example.testhttpclient2/.MainActivity: +5s533ms
04-10 11:03:13.021: D/dalvikvm(130): GC_EXPLICIT freed 127K, 51% free 2903K/5831K, external 2142K/2590K, paused 63ms
04-10 11:03:22.791: D/SntpClient(61): request time failed: java.net.SocketException: Address family not supported by protocol
04-10 11:04:31.651: W/System.err(413): java.net.UnknownHostException: www.baidu.com
04-10 11:04:31.681: W/System.err(413): at java.net.InetAddress.lookupHostByName(InetAddress.java:506)
04-10 11:04:31.692: W/System.err(413): at java.net.InetAddress.getAllByNameImpl(InetAddress.java:294)
04-10 11:04:31.692: W/System.err(413): at java.net.InetAddress.getAllByName(InetAddress.java:256)
04-10 11:04:31.711: W/System.err(413): at java.net.Socket.tryAllAddresses(Socket.java:130)
04-10 11:04:31.711: W/System.err(413): at java.net.Socket.<init>(Socket.java:209)
04-10 11:04:31.731: W/System.err(413): at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:80)
04-10 11:04:31.731: W/System.err(413): at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:122)
04-10 11:04:31.741: W/System.err(413): at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707)
04-10 11:04:31.741: W/System.err(413): at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387)
04-10 11:04:31.741: W/System.err(413): at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
04-10 11:04:31.751: W/System.err(413): at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
04-10 11:04:31.751: W/System.err(413): at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323)
04-10 11:04:31.761: W/System.err(413): at com.example.testhttpclient2.MainActivity$2.run(MainActivity.java:143)
解决方案 »
- 冰天雪地裸体跪求。在android sdk manager install时,Failed to create directory C:\
- 关于查询联系人头像的问题!
- android浏览器开发的一些问题
- 【疑惑】魅族M9手机说的鉴定是否是“全新”还是“翻新机”可信吗?
- jni socket 连接异常的问题
- ksoap2调用web service遇到HttpTransportSE.call就没法执行下去,求助!
- android自动更新
- android可以监听application退出吗
- zxing 如何在扫码窗口设置扫码框的大小
- recycleview怎么只显示三个Item,并且滑动到中间这个Item显示高亮
- Android播放器问题!急,在线等~~
- 这样获取天气为什么获取不到数据。
http://honda418.iteye.com/blog/337052/