what caused IOException and Broken pipe

后端 未结 13 1360
慢半拍i
慢半拍i 2020-12-29 18:15

My AVD is of API 15, I don\'t know why but the following message keeps coming up whenever I run an application on emulator. It doesn\'t seem to have caused any trouble excep

13条回答
  •  难免孤独
    2020-12-29 18:54

    I have been struggling with this problem for a long time. Whenever I wanted to debug android mobile application with Chrome's debug tool I got disconnected every 5 mintutes.

    I found out that the cause of this is indeed other process using connection to mobile phone that is running behind in OS that breaks the communication between mobile phone and OS.

    I use Macbook Pro and I was running IntelliJ IDEA debugger + Android File Transfer (didn't knew this was running behind) and Chrome's debugger tool. When I closed Android File Transfer process with "Activity Monitor" tool everything was working well, no more disconnection between mobile phone and OS. My suggestion is to check always if you are running other Android process.

提交回复
热议问题