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

Error in 64bit lib file path names

    XMLWordPrintable

Details

    • Android
    • 2021wk06, 2021wk08PO2

    Description

      When producing an .aab files, compilation is successfull however when uploading the .aab to google and downloading on a 64 bit device the app crashes on startup.

      At first I stumbled upon this with my own app but this issue is reproducible with a default Qt example. I've tested this with the Qt analog clock example.

      Steps to reproduce:
      Start new project (ie) analog clock, kit android. Use default settings, only check build .aab and add ABI's arm64-v8a and armeabi-72 in the UI of Qt creator. Build the app.
      Use android bundletool (also used internally by google playstore) to create separate apks and deploy the 64bit version. It crashes on startup.

      Logcat shows several errors:
      I/Qt JAVA: Can't find 'nulllibc++_shared.so'
      I/Qt JAVA: Can't find 'nulllibQt5Core_arm64-v8a.so'
      I/Qt JAVA: Can't find 'nulllibQt5Gui_arm64-v8a.so'
      I/Qt JAVA: Can't find 'nulllibplugins_platforms_qtforandroid_arm64-v8a.so'

      All the libraries do seem to present in the packages but there seems to be something wrong with path names. Also 32 and 64 bit APKs produced with Qt are working as they should.

      Attachments

        Issue Links

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

          Activity

            People

              villevoutilainen_qt Ville Voutilainen
              wouter Wouter de Lange
              Veli-Pekka Heinonen Veli-Pekka Heinonen
              Votes:
              9 Vote for this issue
              Watchers:
              13 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes