Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-28342

Debugging not possible when using wirelessly adb connection

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • Qt Creator 9.0.0-beta2
    • Qt Creator 7.0.0, Qt Creator 7.0.1, Qt Creator 7.0.2, Qt Creator 8.0.0, Qt Creator 8.0.1, Qt Creator 9.0.0-beta1
    • Android Support, Debugger
    • None
    • Linux, QtCreator 8.0.1, Qt 6.3.0, Android x86_64, NDK 21.3.6528147
    • Linux/X11, Windows
    • fb40998549 (qt-creator/qt-creator/9.0) fb40998549 (qt-creator/qt-creator/master) fb40998549 (qt-creator/qt-creator/qds/dev)

    Description

      If the target Android device is connected using so called ADB wireless connection (as described here: https://developer.android.com/studio/command-line/adb#connect-to-a-device-over-wi-fi-android-11+) then Qt Creator fails to start debugger.

      The following output is visible in the application output pane:
      CONNECT: error: Invalid URL: adb://<host>:5555:5039 adb://<host>:5555:5039 platform: remote-android False
      10:22:38: Debugging of  has finished.

      Where the <host> is the hostname of the Android device as specified when establishing adb connection:

      adb connect <host>:5555

      Actually I've already found and fixed the bug in code. A patch will follow.

       

       

       

       

      Attachments

        1. NewDeviceEntry.png
          132 kB
          Alessandro Portale
        2. SetupWifiInQtCreator.png
          116 kB
          Alessandro Portale

        Activity

          People

            portale Alessandro Portale
            adam.sowa Adam Sowa
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: