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

Cannot run or debug Android app over WiFi

    XMLWordPrintable

Details

    • Android

    Description

      While adb supports connecting to devices over WiFi, the "Select Android Device" popup in Qt Creator does not list such devices, so it’s not possible to to run or debug Android apps from Qt Creator on remote devices.

      This seems to be due to Qt Creator killing the adb server every time the popup is shown, as a remotely connected device will also no longer show in adb once the "Select Android Device" popup is shown.

      As remote debugging is critical for some use cases (e.g. when connecting Android devices to external hardware) I’d appreciate if support for this can be considered for future releases.

      Steps to reproduce
      1. Connect Android device via WiFi using adb (see documentation)
      2. Run or debug a Qt app on Android from Qt Creator => "Select Android Device" window appears
      Expected results

      "Select Android Device" window lists Android device connected via WiFi.

      Actual results

      "Select Android Device" window does not list Android device connected via WiFi. Additionally, running adb devices will no longer list the device previously connected via WiFi.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            portale Alessandro Portale
            fseiffert Frederik Seiffert
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes