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

Android app fails to start if ffmpeg plugin is missing

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P1: Critical
    • None
    • 6.7.2
    • QPA: Android
    • Android 14
    • 2024wk38s2FOQtforAndroid, 2024wk42s3FOQtforAndroid

    Description

      In our app we use QMediaPlayer to play simple audio files (for the notification purposes). Thus, we do not need ffmpeg plugin. It's very big and we would like to avoid having it in our apk, so we just remove it.

      It was working fine in Qt 6.6.3. Now, app can't start. It crashes with the following output:

       

      I QtCore  : Start
      I Qt      : qt started
      E QtLoader: Can't find '/data/app/~~fsr_2E_WFeFCFbZakB_vwg==/org.app.app-HwTbOMHECZ1rivm0OivXUQ==/lib/x86_64/libplugins_multimedia_ffmpegmediaplugin_x86_64.so'
      E QtLoader: Loading Qt native libraries failed
      D CompatibilityChangeReporter: Compat change id reported: 210923482; UID 10196; state: ENABLED
      D CompatibilityChangeReporter: Compat change id reported: 171228096; UID 10196; state: ENABLED
      D CompatibilityChangeReporter: Compat change id reported: 237531167; UID 10196; state: DISABLED
      W OpenGLRenderer: Unknown dataspace 0
      W OpenGLRenderer: Failed to choose config with EGL_SWAP_BEHAVIOR_PRESERVED, retrying without...
      W OpenGLRenderer: Failed to initialize 101010-2 format, error = EGL_SUCCESS
      I Gralloc4: mapper 4.x is not supported
      E OpenGLRenderer: Unable to match the desired swap behavior.
      I loadmanager.app: System.exit called, status: 0
      I AndroidRuntime: VM exiting with result code 0, cleanup skipped.

      Attachments

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

        Activity

          People

            qtandroidteam Qt Android Team
            alervd Alexander Dyagilev
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes