Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-127486

Apps crash at start on Android devices with API levels 23-27

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P1: Critical
    • 6.8
    • 6.8.0 Beta2, 6.8.0 Beta3
    • QPA: Android
    • None
    • Android
    • 2024wk30s2FOQtforAndroid

    Description

      Have tried to run example app build with 6.8.0 beta2 on Android emulator with
      'system-images;android-23;google_apis;x86_64',
      'system-images;android-24;google_apis;x86_64',
      'system-images;android-26;google_apis;x86_64'
      'system-images;android-27;default;x86_64'
      also 'Nexus 5' physical device (with Android 6.0.1).
      App crushes at start, output similar for all devices:

      E AndroidRuntime: FATAL EXCEPTION: qtMainLoopThread
      E AndroidRuntime: Process: org.qtproject.example, PID: 5496
      E AndroidRuntime: java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "getentropy" referenced by "/data/app/org.qtproject.example-1/lib/arm/libQt6Core_armeabi-v7a.so"...
      

      There are no such crashes with Qt 6,7,2 (with same JDK 17, NDK r26b). Is it Qt 6.8 bug or there are known changes in Qt 6.8 which breaks compatibility?

      Attachments

        1. application output.txt
          1 kB
          Maxim Bescherevnykh
        2. example.zip
          68 kB
          Maxim Bescherevnykh
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qtandroidteam Qt Android Team
            morte Maxim Bescherevnykh
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes