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

Qt 6.9.0 with uncompressed libraries doesn't work with split APKs

    XMLWordPrintable

Details

    • Android
    • 75367d1cf (dev), b17209029 (6.9), 5634bc529 (6.9.0)
    • 2025wk08s1QtforAndroid, 2025wk10s1QtforAndroid

    Description

      When installing an app from an APK that's served from the AAB, there will be multiple split APKs for various configurations, at the moment Qt fails to load libraries from those split APKs because the libraries are in a separate APK (for example base-arm64_v8a.apk). The feature needs to account for those various cases because the Play Store uses that mechanism.

      The workaround for now is to disable the feature by adding the following to build.gradle

      android {
          ...
          packagingOptions.jniLibs.useLegacyPackaging true 
          ...
      }

      Attachments

        For Gerrit Dashboard: QTBUG-134101
        # Subject Branch Project Status CR V

        Activity

          People

            assam Assam Boudjelthia
            assam Assam Boudjelthia
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes