1、【错误信息】eclipse用的好好的,关闭eclipse,第二次打开的时候报这错..
[2013-01-05 13:50:52 - adb] ADB server didn't ACK
[2013-01-05 13:50:52 - adb] * failed to start daemon *
重启adb,报错?: adb failed to restart! make sure the plugin is properly configured
【解决方法】一般碰到这样的问题,kill adb 然后重启eclipse 就可以了...
2、【错误信息】在进行网络操作的时候,地址使用郁闷,一直报错
05-02 14:54:59.554: W/System.err(4771): java.net.UnknownHostException:www.kingtop.com
05-02 14:54:59.554: W/System.err(4771): at java.net.InetAddress.lookupHostByName(InetAddress.java:506)
05-02 14:54:59.554: W/System.err(4771): at java.net.InetAddress.getAllByNameImpl(InetAddress.java:
【解决方法】仔细检查域名没有写错。后来把域名改成Ip地址,报没有权限访问
socket,才知道忘了加权限了...加上网络访问权限就OK了:
<uses-permission android:name="android.permission.INTERNET" />