Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Android Debugging Fails - Connecting to remote server failed. Remote communication error. Target disconnected.: No error
ebonnett last edited by ebonnett
Can anyone please tell me how to get debugging capability back. For the love of God, you'd think there would be an answer on this. It's only been affecting me for 6 months. Does anyone have a solution? I downgraded my SDK tools to 25.2.5 by renaming my tools directory and copying the older tools directory into my SDK installation dir. Please help Obie Wan Kanobe, you're my only hope.
I am on Qt Creator 4.6.0 using Qt 5.10.1 on a Windows 10 box if it matters.
For the record, I think it's BS that 1) this happened and wasn't addressed immediately and 2) there is virtually no documentation online regarding this.
What device are you using ?
What version of Android is it running ?
Can you connect manually to it using Android provides tools ?
What NDK are you using ?
Device = Nexus 6P
Android Version = 8.1
NDK = 10e (the recommended version on the Qt site: http://doc.qt.io/qt-5/androidgs.html)
I don't know what you mean when you ask if I can connect manually using Android provided tools. Can you explain? I appreciate any help. Thank you!
Try to use the adb command provided by the SDK to list and communicate with your device.
@SGaist Sorry for the late reply. I got really tied up in the Windows and MacOS versions of the release. I'm back on Android and iOS so I'll try using abd and post the results of my efforts.
@SGaist Using adb, I was able to see my Nexus 6P but the debugger cannot connect, the same as when I am connected via USB. There are bug reports out there, but surprisingly few. The recommendation is to move to 4.6.0 rc1. See link below: