Uploaded image for project: 'Qt Tools for Android'
  1. Qt Tools for Android
  2. QTTA-470

[QTTAS] ANR error appears when running qtquickview example app on the device

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Not Evaluated Not Evaluated
    • None
    • QtTAS 4.1
    • QtTAS: General
    • None
    • Android

      I'm not quite sure where the problem is (whether it's something on my side or problem with the example), but I do everything as usual, so I report it anyway in case there's something broken. 

      Steps:

      1. Run AS and make sure the Qt plugin is installed.
      2. Open qtquickview_java example from Qt 6.11.0 examples (installed via installer)
      3. Run the project on the device.
      4. When it runs, rotate the device from portrait to landscape. 

      After that, the application stops responding. I see ANR records in the logcat. 

       

      Env details:

       

      Android Studio Ladybug Feature Drop | 2024.2.2 Patch 1
      Build #AI-242.23726.103.2422.13016713, built on February 5, 2025
      Runtime version: 21.0.5+-12932927-b750.29 aarch64
      VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
      Toolkit: sun.lwawt.macosx.LWCToolkit
      macOS 15.7.1
      GC: G1 Young Generation, G1 Concurrent GC, G1 Old Generation
      Memory: 4096M
      Cores: 14
      Metal Rendering is ON
      Registry:
        ide.experimental.ui=true
        i18n.locale=
      Non-Bundled Plugins:
        com.redhat.devtools.lsp4ij (0.17.0)
        org.qtproject.qt.androidstudiotools (4.1)
       

      macOS 15.7.1

       

      QtTAS 4.1

      Qt GP 1.3

        1. error_android.txt
          10 kB
          lukasz.kosiorowski
        2. Screen Recording 2025-10-22 at 21.03.28.mov
          2.41 MB
          lukasz.kosiorowski
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            nikunj Nikunj Arora
            lukasz.kosiorowski lukasz.kosiorowski
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes