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

Unable to debug Android app while Android Studio is running

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • None
    • Qt Creator 13.0.2
    • Android Support
    • None
    • Android Studio Giraffe | 2022.3.1 Patch 1
    • macOS

      Qt Creator is unable to debug an Android app while Android Studio is running. The debugger will just get stuck connecting to the app with an output like this:

      W ActivityThread: Application com.example.app is waiting for the debugger on port 8100...
      I System.out: Sending WAIT chunk
      killall: lldb-server: No such process20:16:20: Debugging  -qmljsdebugger=port:55827,block,services:DebugMessages,QmlDebugger,V8Debugger,QmlInspector,DebugTranslation ...
      CONNECT: success adb://emulator-5554:5039 platform: remote-android True

      It is very easy to run into this e.g. when using Android Studio to edit Java code of a Qt app, as exemplified by the many issues have been reported due to this issue (e.g. QTCREATORBUG-23472, QTCREATORBUG-23240, QTCREATORBUG-20343, and probably others). Our developers regularly run into this even though they know about this limitation.

      This should get fixed, or at the very minimum a running Android Studio app should be detected by Qt Creator and the user warned if they start to debug an Android app.

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

            portale Alessandro Portale
            fseiffert Frederik Seiffert
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes