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

Android Debug on Pixel 2 not working

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • Qt Creator 4.6.1
    • Qt Creator 4.4.1, Qt Creator 4.5.0-rc1
    • Android Support, Debugger
    • None
    • Windows 8.1 64 Bit
      Android SDK Tools 26.1.1
      Android Platform Tools 26.0.2
      Android NDK r16
      Android API Level 25/26
      Qt Creator 4.4.1/4.5.0-rc1
      Qt 5.9.3
    • 429c596395697ff3533e679a848ad26cd1ee97cb

    Description

      Hello,

      I'm working on a Qt app for Android. Debugging it in its current state on a Nexus 9 with Android 7.1 works fine. Debugging a Qt example on the Pixel 2 x86 simulator also works.

      Debugging on the real device (Pixel 2 Android 8.0 Security Patch November 2017) does not work. The debugger seems to come up on the device but then the log is spammed with "Qt JAVA: DEBUGGER: Waiting for debug socket connect" until a timeout exception occurs. Very rarely (~1%) the debug start succeeds but
      mainly it fails like explained. The last thing I can see in the log output is "Debug socket accepted", then the log is just spammed with the above mentioned message. I suspect the debug start gets stuck somewhere between lines 680-686 in QtActivityDelegate.java.

      Any suggestions what I could do? Already tried turning off mixed debugging and other devices/emulators work as well. Seems to be limited to this particular device.

      Regards

      Attachments

        Issue Links

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

          Activity

            People

              vikas Vikas Pachdha
              0xfelix Felix Matouschek
              Votes:
              2 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes