0

在eclipse中通过maven运行测试用例(使用Robotium)时,我经常遇到下面提到的错误。

05-24 19:03:39.112 D/dalvikvm(  441): GC_CONCURRENT freed 2038K, 50% free 8431K/16775K, external 18832K/20738K, paused 9ms+8ms
05-24 19:03:40.032 I/System.out(  441): successtrue
05-24 19:03:40.212 D/dalvikvm(  441): GC_CONCURRENT freed 2091K, 51% free 8387K/16775K, external 18832K/20738K, paused 7ms+8ms
05-24 19:06:07.962 D/SntpClient(   77): request time failed: java.net.SocketException: Address family not supported by protocol
05-24 19:11:07.972 D/SntpClient(   77): request time failed: java.net.SocketException: Address family not supported by protocol
05-24 19:16:07.982 D/SntpClient(   77): request time failed: java.net.SocketException: Address family not supported by protocol

我查看了不同的博客,人们提到了不同的原因。有人对错误有任何正当理由吗?

代码以创建和关闭连接的方式设计。此外,即使我不执行网络操作,我也遇到了这个问题。

4

0 回答 0