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. QT Creator - Select Android Device - device connected over TCPIP is missing
Forum Updated to NodeBB v4.3 + New Features

QT Creator - Select Android Device - device connected over TCPIP is missing

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
4 Posts 3 Posters 1.7k Views 1 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.
  • Z Offline
    Z Offline
    Zeronio
    wrote on 30 Oct 2018, 13:46 last edited by Zeronio
    #1

    I am trying to debug QT application for android over WiFI network in QT Creator.
    Building, deploying & debugging over USB works fine.
    I followed the instructions for connecting adb via WiFi network:

    $ adb devices
    adb server is out of date. killing...
    daemon started successfully
    List of devices attached
    9WVDU18620005677 device
    $ adb tcpip 6555
    restarting in TCP mode port: 6555
    $ adb connect 192.168.43.1:6555
    connected to 192.168.43.1:6555
    $ adb devices
    List of devices attached
    9WVDU18620005677 device
    192.168.43.1:6555 device

    Then I disconnected USB cable and adb was connected only over IP:

    $ adb devices
    List of devices attached
    192.168.43.1:6555 device

    However when I try to start debugging in QT Creator and the Select Android Device dialog pops out there are no available devices in the list.
    Is is possible to debug over TCPIP in QT Creator? Any clues on how to do it?

    Thanx!

    R 1 Reply Last reply 31 Oct 2018, 07:55
    1
    • Z Zeronio
      30 Oct 2018, 13:46

      I am trying to debug QT application for android over WiFI network in QT Creator.
      Building, deploying & debugging over USB works fine.
      I followed the instructions for connecting adb via WiFi network:

      $ adb devices
      adb server is out of date. killing...
      daemon started successfully
      List of devices attached
      9WVDU18620005677 device
      $ adb tcpip 6555
      restarting in TCP mode port: 6555
      $ adb connect 192.168.43.1:6555
      connected to 192.168.43.1:6555
      $ adb devices
      List of devices attached
      9WVDU18620005677 device
      192.168.43.1:6555 device

      Then I disconnected USB cable and adb was connected only over IP:

      $ adb devices
      List of devices attached
      192.168.43.1:6555 device

      However when I try to start debugging in QT Creator and the Select Android Device dialog pops out there are no available devices in the list.
      Is is possible to debug over TCPIP in QT Creator? Any clues on how to do it?

      Thanx!

      R Offline
      R Offline
      raven-worx
      Moderators
      wrote on 31 Oct 2018, 07:55 last edited by
      #2

      @Zeronio
      basically it doesn't make any difference for QtCreator how the device is connected in the end, since everything is abstracted by adb.
      What QtCreator version are you using?

      --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
      If you have a question please use the forum so others can benefit from the solution in the future

      1 Reply Last reply
      1
      • Z Offline
        Z Offline
        Zeronio
        wrote on 31 Oct 2018, 08:52 last edited by Zeronio
        #3

        To me it looks like the "Select Android Device" dialog restarts adb server before refreshing device list which removes the TCPIP device out of it.

        When I call adb from command line after that it says adb server is out of date. killing... and then I have to connect the device manually again.

        I am using Qt Creator 4.7.0
        Based on Qt 5.11.1 (GCC 5.3.1 20160406 (Red Hat 5.3.1-6), 64 bit)
        Built on Jul 17 2018 04:23:40

        1 Reply Last reply
        0
        • T Offline
          T Offline
          TripleF
          wrote on 25 Jul 2019, 11:21 last edited by
          #4

          I’m running into the same issue.

          I created a bug report for it, feel free to follow or vote on it:
          https://bugreports.qt.io/browse/QTCREATORBUG-22765

          1 Reply Last reply
          1

          • Login

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