Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
5.14.0 Beta3, 5.15
-
Qt 5.14.0 Beta3
-
-
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
- relates to
-
QTBUG-83943 App not starting on Android because of missing library/wrong library search path
- Closed