机器人:java.net.SocketException异常:残破的管道LG [英] android: java.net.SocketException: Broken pipe LG

查看:369
本文介绍了机器人:java.net.SocketException异常:残破的管道LG的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发在Android 2.2及LG黑设备的应用程序。
当我在我LG的设备上运行应用程序,我得到以下SocketException,请这是从来没有在其他设备上发生的!

I'm developing an application for Android 2.2 and LG Black devices. When I run the application on my LG device I get the following SocketException, which is never happen on other devices!

Broken pipe
  java.net.SocketException: Broken pipe
  at org.apache.harmony.luni.platform.OSNetworkSystem.writeSocketImpl(Native Method)
  at org.apache.harmony.luni.platform.OSNetworkSystem.write(OSNetworkSystem.java:723)
  at org.apache.harmony.luni.net.PlainSocketImpl.write(PlainSocketImpl.java:578)
  at org.apache.harmony.luni.net.SocketOutputStream.write(SocketOutputStream.java:59)

如何可以解决?
谢谢你。

How It can be solved? Thanks.

推荐答案

您身边-A
另一端-B

your side-A the other end-B

在从B A获取数据,B闭环> SocketException:断的管

when A getting data from B,B closed->SocketException: Broken pipe

这篇关于机器人:java.net.SocketException异常:残破的管道LG的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆