Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.7.0 Beta1
-
None
-
-
ff6a6d328 (dev), 8c5ea5b36 (6.7)
-
2024wk06FOQtforAndroid
Description
MacOS 14.2.1
Qt Creator 12.0.1
Devices: Samsung Galaxy S22 13.0, Pixel 3a 12.0
Steps to reproduce:
- Open Qt Notifier example - https://doc.qt.io/qt-6/qtcore-platform-androidnotifier-example.html
- Lunch the app on an Android device (A12 or A13)
Expected: The app should be launched.
Actual: The app crashes immediately after launch. When I tried again to launch the app - it worked, but it happened again after clearing the app's data/cache from the app info.
Reproducibility: 100%
NOTE: It's not reproducible with Qt 6.6.1 - the app build with this version works well and is launched without any crash.
E AndroidRuntime: FATAL EXCEPTION: main E AndroidRuntime: Process: org.qtproject.example.androidnotifier, PID: 14170 E AndroidRuntime: java.lang.UnsatisfiedLinkError: No implementation found for int[] org.qtproject.qt.android.ExtractStyle.extractNativeChunkInfo20(long) (tried Java_org_qtproject_qt_android_ExtractStyle_extractNativeChunkInfo20 and Java_org_qtproject_qt_android_ExtractStyle_extractNativeChunkInfo20__J) - is the library loaded, e.g. System.loadLibrary? E AndroidRuntime: at org.qtproject.qt.android.ExtractStyle.extractNativeChunkInfo20(Native Method) E AndroidRuntime: at org.qtproject.qt.android.ExtractStyle.findPatchesMarings(ExtractStyle.java:590) E AndroidRuntime: at org.qtproject.qt.android.ExtractStyle.getDrawable(ExtractStyle.java:900) E AndroidRuntime: at org.qtproject.qt.android.ExtractStyle.getStateListDrawable(ExtractStyle.java:454) E AndroidRuntime: at org.qtproject.qt.android.ExtractStyle.getAnimatedStateListDrawable(ExtractStyle.java:646) E AndroidRuntime: at org.qtproject.qt.android.ExtractStyle.getDrawable(ExtractStyle.java:805) E AndroidRuntime: at org.qtproject.qt.android.ExtractStyle.extractSwitch(ExtractStyle.java:1528) E AndroidRuntime: at org.qtproject.qt.android.ExtractStyle.<init>(ExtractStyle.java:233) E AndroidRuntime: at org.qtproject.qt.android.ExtractStyle.runIfNeeded(ExtractStyle.java:191) E AndroidRuntime: at org.qtproject.qt.android.ExtractStyle.setup(ExtractStyle.java:181) E AndroidRuntime: at org.qtproject.qt.android.QtActivityLoader.setupStyleExtraction(QtActivityLoader.java:106) E AndroidRuntime: at org.qtproject.qt.android.QtActivityLoader.extractContextMetaData(QtActivityLoader.java:118) E AndroidRuntime: at org.qtproject.qt.android.QtActivityLoader.<init>(QtActivityLoader.java:32) E AndroidRuntime: at org.qtproject.qt.android.QtActivityBase.onCreate(QtActivityBase.java:102) E AndroidRuntime: at org.qtproject.qt.android.bindings.QtActivity.onCreate(QtActivity.java:16) E AndroidRuntime: at android.app.Activity.performCreate(Activity.java:8054) E AndroidRuntime: at android.app.Activity.performCreate(Activity.java:8034) E AndroidRuntime: at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1341) E AndroidRuntime: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3688) E AndroidRuntime: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3864) E AndroidRuntime: at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:103) E AndroidRuntime: at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135) E AndroidRuntime: at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95) E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2253) E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:106) E AndroidRuntime: at android.os.Looper.loopOnce(Looper.java:201) E AndroidRuntime: at android.os.Looper.loop(Looper.java:288) E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:7870) E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method) E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548) E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1003)
Attachments
Issue Links
- is cloned by
-
QTBUG-121668 Qt Notifier example - notifications do not work on Android 13
- Closed
- relates to
-
QTQAINFRA-6104 Qt Test Attack - Q1, 2024
- Open
- resulted from
-
QTBUG-116884 Redesign Android QPA
- Closed
For Gerrit Dashboard: QTBUG-121667 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
537529,2 | Android: fix style extraction when set to none | dev | qt/qtbase | Status: MERGED | +2 | 0 |
537716,2 | Android: fix style extraction when set to none | 6.7 | qt/qtbase | Status: MERGED | +2 | 0 |