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. Can't debug android application - Connecting to remote server failed
Forum Updated to NodeBB v4.3 + New Features

Can't debug android application - Connecting to remote server failed

Scheduled Pinned Locked Moved Solved Mobile and Embedded
6 Posts 2 Posters 3.2k Views 2 Watching
  • 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.
  • L Offline
    L Offline
    lqsa
    wrote on 6 Jul 2017, 23:15 last edited by
    #1

    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?

    K 1 Reply Last reply 7 Jul 2017, 05:57
    0
    • L lqsa
      6 Jul 2017, 23:15

      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?

      K Offline
      K Offline
      koahnig
      wrote on 7 Jul 2017, 05:57 last edited by
      #2

      @lqsa

      Are you trying to connect with USB on windows?

      There is a note for windows

      Otherwise you need to state your OS and version of Qt.

      Vote the answer(s) that helped you to solve your issue(s)

      1 Reply Last reply
      0
      • L Offline
        L Offline
        lqsa
        wrote on 7 Jul 2017, 13:15 last edited by
        #3

        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.

        1 Reply Last reply
        0
        • L Offline
          L Offline
          lqsa
          wrote on 7 Jul 2017, 13:37 last edited by
          #4

          It's very strange. I've tested two samples, places and contactlist, and can debug it. I suppose that is something on my project.

          K 1 Reply Last reply 7 Jul 2017, 14:03
          0
          • L lqsa
            7 Jul 2017, 13:37

            It's very strange. I've tested two samples, places and contactlist, and can debug it. I suppose that is something on my project.

            K Offline
            K Offline
            koahnig
            wrote on 7 Jul 2017, 14:03 last edited by
            #5

            @lqsa

            Did you compile it already as application for windows?
            That may help, but you cannot test any specific Android stuff.

            Good luck for solving your issues.

            Vote the answer(s) that helped you to solve your issue(s)

            1 Reply Last reply
            0
            • L Offline
              L Offline
              lqsa
              wrote on 12 Jul 2017, 21:44 last edited by
              #6

              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 Reply Last reply
              0

              1/6

              6 Jul 2017, 23:15

              • Login

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