Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Android Debugging Fails - Connecting to remote server failed. Remote communication error. Target disconnected.: No error
QtWS25 Last Chance

Android Debugging Fails - Connecting to remote server failed. Remote communication error. Target disconnected.: No error

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
6 Posts 2 Posters 2.9k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E Offline
    E Offline
    ebonnett
    wrote on last edited by ebonnett
    #1

    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.

    Unacceptable.

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      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 ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • E Offline
        E Offline
        ebonnett
        wrote on last edited by
        #3

        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!

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Try to use the adb command provided by the SDK to list and communicate with your device.

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          E 2 Replies Last reply
          0
          • SGaistS SGaist

            Try to use the adb command provided by the SDK to list and communicate with your device.

            E Offline
            E Offline
            ebonnett
            wrote on last edited by
            #5

            @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.

            1 Reply Last reply
            0
            • SGaistS SGaist

              Try to use the adb command provided by the SDK to list and communicate with your device.

              E Offline
              E Offline
              ebonnett
              wrote on last edited by
              #6

              @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:

              https://bugreports.qt.io/browse/QTCREATORBUG-20403

              1 Reply Last reply
              0

              • Login

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups
              • Search
              • Get Qt Extensions
              • Unsolved