Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
6.8.0, 6.8.1, 6.8.2
-
None
-
-
e70994631 (dev), 3fd092bd1 (6.9), 7fd67af0d (6.8)
-
2025wk08s1QtforAndroid, 2025wk10s1QtforAndroid
Description
Hi , i noticed several issues on 6.8 variant of Qt for android ,
first one is the crash at first launch of the app , but running it on 2nd time when the app was already created its cache folder /data folder it will run, but it should not be the expected behavior, on 6.6 version the issue does not exist.
```
E/com.ncvi.cdmis: 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?
D/AndroidRuntime: Shutting down VM
E/AndroidRuntime: FATAL EXCEPTION: main
E/AndroidRuntime: Process: com.ncvi.cdmis, PID: 7208
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:596)
E/AndroidRuntime: at org.qtproject.qt.android.ExtractStyle.getDrawable(ExtractStyle.java:906)
E/AndroidRuntime: at org.qtproject.qt.android.ExtractStyle.getStateListDrawable(ExtractStyle.java:460)
E/AndroidRuntime: at org.qtproject.qt.android.ExtractStyle.getDrawable(ExtractStyle.java:823)
E/AndroidRuntime: at org.qtproject.qt.android.ExtractStyle.extractViewInformation(ExtractStyle.java:1029)
E/AndroidRuntime: at org.qtproject.qt.android.ExtractStyle.extractTextAppearanceInformation(ExtractStyle.java:1144)
E/AndroidRuntime: at org.qtproject.qt.android.ExtractStyle.extractTextAppearanceInformation(ExtractStyle.java:1139)
E/AndroidRuntime: at org.qtproject.qt.android.ExtractStyle.<init>(ExtractStyle.java:232)
E/AndroidRuntime: at org.qtproject.qt.android.ExtractStyle.runIfNeeded(ExtractStyle.java:201)
E/AndroidRuntime: at org.qtproject.qt.android.ExtractStyle.setup(ExtractStyle.java:187)
E/AndroidRuntime: at org.qtproject.qt.android.QtActivityLoader.setupStyleExtraction(QtActivityLoader.java:72)
E/AndroidRuntime: at org.qtproject.qt.android.QtActivityLoader.extractContextMetaData(QtActivityLoader.java:84)
E/AndroidRuntime: at org.qtproject.qt.android.QtActivityLoader.<init>(QtActivityLoader.java:31)
E/AndroidRuntime: at org.qtproject.qt.android.QtActivityLoader.getActivityLoader(QtActivityLoader.java:36)
E/AndroidRuntime: at org.qtproject.qt.android.QtActivityBase.onCreate(QtActivityBase.java:111)
E/AndroidRuntime: at org.qtproject.qt.android.bindings.QtActivity.onCreate(QtActivity.java:16)
E/AndroidRuntime: at android.app.Activity.performCreate(Activity.java:8595)
E/AndroidRuntime: at android.app.Activity.performCreate(Activity.java:8573)
E/AndroidRuntime: at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1456)
E/AndroidRuntime: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3764)
E/AndroidRuntime: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3922)
E/AndroidRuntime: at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:103)
E/AndroidRuntime: at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:139)
E/AndroidRuntime: at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:96)
E/AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2443)
E/AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:106)
E/AndroidRuntime: at android.os.Looper.loopOnce(Looper.java:205)
E/AndroidRuntime: at android.os.Looper.loop(Looper.java:294)
E/AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:8177)
E/AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:552)
E/AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:971)
```
The above is the logs on every first run of the app , what i mean is i clean install the app then run it then it immediately crashed .
2nd issue is QML TextEdit
the placeholder isn't properly place where it should be ,
The above screenshot was created using 6.8 variant
below is the 6.6 variant