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

QtCreator is unable to launch Android debugger

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • None
    • Qt Creator 17.0.1
    • Debugger
    • None
    • Android
    • 2025wk38s2QtforAndroid, 2025wk40s2-3QtforAndroid

      I'm deploying C++ apps to Android using QtCreator.

      I am using Qt 6.9.0 with QtCreator 16.0.1. I can set a breakpoint to the main application, start the app in Debug mode and the app stops on the breakpoint. Note that it uses NDK r26b.

      I tested Qt 6.9.2 with QtCreator 17.0.1. I can set a breakpoint to the main application, but when I start the app "Launching debugger" is shown and stops progression, then remains for ever, the app starts on the device but does not stop on the breakpoint. Note that it uses NDK r27c.

      See attached screenshots. It's reproductible with any basic app, here is one for the record:

       

       

      #include <QApplication>
      #include <QMainWindow>
      #include <QVBoxLayout>
      #include <QLabel>
      int main( int argc, char* argv[] )
      {
          QApplication app(argc, argv);
          QMainWindow dlg;
          QWidget centralWidget;
          centralWidget.setLayout( new QVBoxLayout() );
          centralWidget.layout()->addWidget( new QLabel("HELLO") );
          dlg.setCentralWidget(&centralWidget);
          dlg.show();
          return app.exec();
      }
       
      

       

      Attached QtCreator output

        1. application-output-TestQT692.txt
          10 kB
        2. qtcbug.mp4
          12.87 MB
        3. qtcreator_16.0.1.png
          qtcreator_16.0.1.png
          186 kB
        4. qtcreator_17.0.1.png
          qtcreator_17.0.1.png
          144 kB
        5. QTCREATORBUG-33459.webm
          672 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            portale Alessandro Portale
            jpo38 Jean Porcherot
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes