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 application debug not working in my xiaomi device
Forum Updated to NodeBB v4.3 + New Features

Android application debug not working in my xiaomi device

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
5 Posts 3 Posters 786 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.
  • B Offline
    B Offline
    BYcharles_51
    wrote on last edited by
    #1

    I can deploy the application successful but when ever I try to debug I get the following error:
    The command "/home/bongani/Android/Sdk/platform-tools/adb" terminated with exit code 1.
    adb: error: listener 'tcp:5038' not found
    I/System.out(30436): Sending WAIT chunk

    1 Reply Last reply
    0
    • S Offline
      S Offline
      sz36
      wrote on last edited by
      #2

      I have absolutely the same thing. Device is Samsung G800F. QtCreator 4.11.1, Qt 5.14.1, Windows 7

      I tried to connect to adb via USB and via Wifi, the result is the same. The application is deployed, launched on the device, and the debugger breaks:

      adb.exe: error: listener 'tcp:5038' not found

      Does anyone have Android debugging from QtCreator?

      1 Reply Last reply
      0
      • J.HilkJ Offline
        J.HilkJ Offline
        J.Hilk
        Moderators
        wrote on last edited by
        #3

        this, for both cases is an issue of the OEM.

        QtCreator supports debugging where AndroidStudio supports it.

        Samsung and Xiamoi do their own thing.

        You can use a virtual Android device, those work all fine. Or - and I can't believe I'm saying this - you can get a pixel phone, those should - "should", its google - always be supported.


        Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


        Q: What's that?
        A: It's blue light.
        Q: What does it do?
        A: It turns blue.

        1 Reply Last reply
        0
        • S Offline
          S Offline
          sz36
          wrote on last edited by
          #4

          In Android Studio on the same device, the same computer and with the same SDK, debugging works fine! The problem is in the QtCreator and Qt projects

          1 Reply Last reply
          0
          • S Offline
            S Offline
            sz36
            wrote on last edited by
            #5

            I found this and this. It is bug QtCreator.
            How can I downgrade QtCreator? In QtCreator 4.8 Android debugging worked, I remember.

            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