LADB icon indicating copy to clipboard operation
LADB copied to clipboard

LADB 2.4.2 weird connection issue (and workaround)

Open akpapathanasiou opened this issue 7 months ago • 2 comments

Hello :)

Many thanks for reverting back to the 2.3.1 backend, however I still face an issue where I cannot connect. However I have found a workaround (hence the new post), which may give you some understanding on what's happening.

I updated LADB to 2.4.2, cleared app data, revoked all authentications/connections, and rebooted. Still wasn't able to connect. LADB did identify the credentials (the popup closed) but it wasn't able to connect.

HOWEVER, I connected the device (Pixel 7 Pro) to a computer, entered adb tcpip 5555, and disconnected the device That was it. Now LADB instantly connects!

The only thing is, any command I enter through LADB from this point onwards, must be in the form of "adb -s emulator-5554 shell [...]", for some reason if I don't select emulator-5554 I get a "libadb.so: more than one device/emulator" error.

Hope that "adb tcpip 5555" workaround would maybe give you an idea of what's going on with the latest versions. For me, since I rarely reboot my phone though, it's not a big issue. Just wanted to let everyone know if they happen to also face connection issues :)

akpapathanasiou avatar Jul 06 '24 14:07 akpapathanasiou