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

Android app fails to start if ffmpeg plugin is missing

XMLWordPrintable

    • Android
    • 2024wk38s2FOQtforAndroid, 2024wk42s3FOQtforAndroid, 2024wk48s3FOQtforAndroid, 2025wk42s3QtforAndroid

      [3 Oct 2025 UPDATE] The bug is here again in 6.9.3. All was working fine in 6.9.2. Regression from 6.9.2 to 6.9.3.

       

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes