Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
None
-
5.14.2, 5.15
-
According to the Google Play report, this is the device used where the issue occurs:
Model Name: P8 Lite
Manufacturer: Huawei
Android Version: Android 5.0
Locale: de_DE
Screen Size: 720 × 1280
Screen Density (dpi): 320
RAM: 2048 MB
OpenGL ES Version: 2.0
Native Platform: armeabi-v7a
CPU Make: HiSilicon
CPU Model: Hi6220According to the Google Play report, this is the device used where the issue occurs: Model Name: P8 Lite Manufacturer: Huawei Android Version: Android 5.0 Locale: de_DE Screen Size: 720 × 1280 Screen Density (dpi): 320 RAM: 2048 MB OpenGL ES Version: 2.0 Native Platform: armeabi-v7a CPU Make: HiSilicon CPU Model: Hi6220
Description
I recently updated an app of mine to use Qt 5.14.2 for deploying to Android. Before, I used to build individual APKs for the platforms I wanted to deploy to. After the update, I switched to building AAB files, as this also eases the deployment steps later on.
When uploading the resulting AAB to the Play Store, it passes most pre-launch tests, however, it fails on one specific device (the Huawei P8 Lite) with the following errors printed via logcat (for reference, I attached the full log to this issue):
04-23 22:53:10.095: W/OpenTodoList(19123): QQmlApplicationEngine failed to load component 04-23 22:53:10.095: W/OpenTodoList(19123): qrc:/main.qml:6:1: Type MainWindow unavailable 04-23 22:53:10.095: W/OpenTodoList(19123): qrc:/Windows/MainWindow.qml:5:1: plugin cannot be loaded for module "QtQuick.Controls.Material": Cannot load library /data/app/net.rpdev.opentodolist-1/lib/arm64/libqml_QtQuick_Controls.2_Material_qtquickcontrols2materialstyleplugin_arm64-v8a.so: (dlopen failed: library "_data_app_net.rpdev.opentodolist-1_lib_arm64_libqml_QtQuick_Controls.2_Material_qtquickcontrols2materialstyleplugin_arm64-v8a.so" not found)
I downloaded the generated APK from the Play Store, and the file it complains about is indeed present. However, I think the offending part is the library search path:
- According to the log it searches in /data/app/net.rpdev.opentodolist-1/lib/arm64/
- However, looking into the generated APK it should be /data/app/net.rpdev.opentodolist-1/lib/arm64-v8a/
If it helps, the app where this happens is open source and available on Gitlab: https://gitlab.com/rpdev/opentodolist
Let me know if you need any additional information to better analyse this
Attachments
Issue Links
- relates to
-
QTBUG-86314 Error in 64bit lib file path names
- Reported
-
QTBUG-80766 Android app installed from Google Play store crashes
- Closed