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

Debugging Android applications on macOS with QtC 4.8 doesn't work

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • Qt Creator 4.8.0-beta1
    • Debugger
    • None
    • macOS 10.13.6, Nexus 7v2 (Android 6.0.1)
      Android SDK 26.1.1
      Android NDK r18b
    • Android, macOS

    Description

      Works with 4.7.2, but not 4.8.0-beta1.

      Reproducible with any Qt example or new example create from template.

      Error dialog shows: "Connection to remote server failed: ... Connection reset by peer."
      
       14:07:20: Debugging starts
      I art     : Late-enabling -Xcheck:jni
      W ActivityThread: Application org.qtproject.example.analogclock is waiting for the debugger on port 8100...
      I System.out: Sending WAIT chunk
      I art     : Debugger is active
      I System.out: Debugger has connected
      I System.out: waiting for debugger to settle...
      14:07:20: Debugging has finished
      I System.out: waiting for debugger to settle...
      I System.out: waiting for debugger to settle...
      I System.out: waiting for debugger to settle...
      I System.out: waiting for debugger to settle...
      I System.out: waiting for debugger to settle...
      I System.out: waiting for debugger to settle...
      I System.out: debugger has settled (1360)
      W System  : ClassLoader referenced unknown path:
      I QtCore  : Start
      W linker  : /data/app/org.qtproject.example.analogclock-2/lib/arm/libQt5Gui.so: unused DT entry: type 0x1d arg 0x594c7
      W linker  : /data/app/org.qtproject.example.analogclock-2/lib/arm/libQt5Gui.so: unsupported flags DT_FLAGS_1=0x80
      W linker  : /data/data/org.qtproject.example.analogclock/qt-reserved-files/plugins/platforms/android/libqtforandroid.so: unused DT entry: type 0x1d arg 0x921c
      W linker  : /data/data/org.qtproject.example.analogclock/qt-reserved-files/plugins/platforms/android/libqtforandroid.so: unsupported flags DT_FLAGS_1=0x80
      I Qt      : qt started
      I art     : Debugger is no longer active
      D OpenGLRenderer: Use EGL_SWAP_BEHAVIOR_PRESERVED: true
      I Adreno-EGL: <qeglDrvAPI_eglInitialize:379>: QUALCOMM Build: 10/21/15, 369a2ea, I96aee987eb
      I OpenGLRenderer: Initialized EGL, version 1.4
      W linker  : /data/app/org.qtproject.example.analogclock-2/lib/arm/libanalogclock.so: unused DT entry: type 0x1d arg 0x1505
      

      Attachments

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

        Activity

          People

            vikas Vikas Pachdha
            stromme Christian
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes