Details
-
Suggestion
-
Resolution: Fixed
-
P2: Important
-
5.7.1, 5.8.0, 5.9.0 RC, 5.12.3
-
-
0db5b424c (dev)
-
2022wk32FOQtforAndroid, 2022wk36FOQtforAndroid, 2022wk42FOQtforAndroid, 2022wk46FOQtforAndroid, 2024wk38s2FOQtforAndroid, 2024wk40s3FOQtforAndroid
Description
On Android, beginning with Android Marshmallow (6.0) there's extractNativeLibs flag in <application> tag inside AndroidManifest.xml which tells should native libs be copied out of original .apk file before being loaded.
If extractNativeLibs is set to false, .so libs can be loaded directly from original .apk file with no wasting device's storage space (which in my case is about 30MB), make app start faster and (what even more important) Google Play will "understand" them during calculating delta update - so one updating Android app without changing Qt version would benefit from this strongly (update smaller probably by ~25MB in my case!).
I've tried on my own and managed to get Qt's libs loaded with extractNativeLibs flag set to false on device with Android 6.0+, but failed with plugins; I don't think it's a long task for someone who knows Android integration better than me.
Useful links:
Attachments
Issue Links
- relates to
-
QTBUG-80766 Android app installed from Google Play store crashes
- Closed
-
QTBUG-95103 Default AndroidManifest contains android:configChanges value introduced in high api level, which will break the compile against lower api level
- Closed
-
QTBUG-106713 android.bundle.enableUncompressedNativeLibs=false deprecated in Android Gradle plug-in ver 8.0
- Closed