Can't debug android application - Connecting to remote server failed
-
wrote on 6 Jul 2017, 23:15 last edited by
When I try to debug an Android app with a mobile with Android 7, appears this message:
Connecting to remote server failed:
Remote communication error. Target disconnected.: No error.The same app with two diferent phones with Android 4 debug without problem.
Any ideas?
-
When I try to debug an Android app with a mobile with Android 7, appears this message:
Connecting to remote server failed:
Remote communication error. Target disconnected.: No error.The same app with two diferent phones with Android 4 debug without problem.
Any ideas?
wrote on 7 Jul 2017, 05:57 last edited byAre you trying to connect with USB on windows?
Otherwise you need to state your OS and version of Qt.
-
wrote on 7 Jul 2017, 13:15 last edited by
Yes, from Windows. I've already installed the USB driver, like says on the note, and already debugging on another Android devices.
I'm debugging on a Samsung S4 mini (Android 4) and Energy Colors (Android 4). The problem is with a Motorola G4 Plus (Android 7).
My OS is Windows 10 Pro (with the latests updates) and Qt 5.9.1. The same problem with Qt 5.7. Other versions of Qt hasn't tested.
-
wrote on 7 Jul 2017, 13:37 last edited by
It's very strange. I've tested two samples, places and contactlist, and can debug it. I suppose that is something on my project.
-
It's very strange. I've tested two samples, places and contactlist, and can debug it. I suppose that is something on my project.
-
wrote on 12 Jul 2017, 21:44 last edited by
I found it. The problem was that I'm using a tools greater than 25.2.5 and QT doesn't detect the SDK (see [https://bugreports.qt.io/browse/QTBUG-61705](link url)). After install and use it, it debugs.
1/6