Logcat populated by java.io.IOException: connection failure messages

My logarithm is populated with the following message -

E/UsDebuggingManager( 476): java.io.IOException: Connection refused E/UsDebuggingManager( 476): at android.net.LocalSocketImpl.connectLocal(Native Method) E/UsDebuggingManager( 476): at android.net.LocalSocketImpl.connect(LocalSocketImpl.java:287) E/UsDebuggingManager( 476): at android.net.LocalSocket.connect(LocalSocket.java:130) E/UsDebuggingManager( 476): at com.android.server.DebuggingService.listenToSocket(UsDebuggingManager.java:75) E/UsDebuggingManager( 476): at com.android.server.DebuggingService.run(UsDebuggingManager.java:111) E/UsDebuggingManager( 476): at java.lang.Thread.run(Thread.java:841) 

I looked at the UsbDebuggingManager. java UsbDebuggingManager. java and I see that the thread is trying to connect to the adb server and the connection is not working. I do not receive any other messages besides this.

Any help to solve this problem is appreciated.

@MHP: I get this error as soon as I start logcat and it keeps coming in. The application does not work.

+6
source share
2 answers

It happened to me. I based my Android device (Shield Tegra) and I installed adbd Insecure to have adbd root priviliges on it.

I disabled this option:

  • Enable insecure adbd

enter image description here

I don’t know if you did the same, but turning off "enable insecure adbd" fixed all java.io.IOException: Connection refused errors .

Hope this helps

+3
source

This is probably the reason for your phone. Please remove any avast services if they are running. Also, did you somehow hack or change the internal space of your phone? Check if it works with another phone or not.

0
source

Source: https://habr.com/ru/post/974391/


All Articles