No implementation found for boolean org.qtproject.qt.android.QtNativeInputConnection.fullscreenMode in Qt 6.7.2 on Android
Unsolved
Mobile and Embedded
-
Hello,
I have updated an Android app built with Qt 6.4.1 to 6.7.2. Now due to this update it crashes with the following error. Curiously the crash happens when adjusting the device's volume with the buttons.java.lang.UnsatisfiedLinkError: No implementation found for boolean org.qtproject.qt.android.QtNativeInputConnection.fullscreenMode() (tried Java_org_qtproject_qt_android_QtNativeInputConnection_fullscreenMode and Java_org_qtproject_qt_android_QtNativeInputConnection_fullscreenMode__) 06-26 10:13:31.494 2418 2418 E AndroidRuntime: at org.qtproject.qt.android.QtNativeInputConnection.fullscreenMode(Native Method) 06-26 10:13:31.494 2418 2418 E AndroidRuntime: at org.qtproject.qt.android.QtInputConnection.restartImmInput(QtInputConnection.java:127) 06-26 10:13:31.494 2418 2418 E AndroidRuntime: at org.qtproject.qt.android.QtEditText.onKeyDown(QtEditText.java:105) 06-26 10:13:31.494 2418 2418 E AndroidRuntime: at android.view.KeyEvent.dispatch(KeyEvent.java:2801) 06-26 10:13:31.494 2418 2418 E AndroidRuntime: at android.view.View.dispatchKeyEvent(View.java:13890) 06-26 10:13:31.494 2418 2418 E AndroidRuntime: at android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:1922) 06-26 10:13:31.494 2418 2418 E AndroidRuntime: at android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:1922) 06-26 10:13:31.494 2418 2418 E AndroidRuntime: at android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:1922) 06-26 10:13:31.494 2418 2418 E AndroidRuntime: at android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:1922) 06-26 10:13:31.494 2418 2418 E AndroidRuntime: at android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:1922) 06-26 10:13:31.494 2418 2418 E AndroidRuntime: at com.android.internal.policy.DecorView.superDispatchKeyEvent(DecorView.java:453) 06-26 10:13:31.494 2418 2418 E AndroidRuntime: at com.android.internal.policy.PhoneWindow.superDispatchKeyEvent(PhoneWindow.java:1839) 06-26 10:13:31.494 2418 2418 E AndroidRuntime: at android.app.Activity.dispatchKeyEvent(Activity.java:4000) 06-26 10:13:31.494 2418 2418 E AndroidRuntime: at org.qtproject.qt.android.QtActivityBase.dispatchKeyEvent(QtActivityBase.java:201) 06-26 10:13:31.494 2418 2418 E AndroidRuntime: at com.android.internal.policy.DecorView.dispatchKeyEvent(DecorView.java:367) 06-26 10:13:31.494 2418 2418 E AndroidRuntime: at android.view.ViewRootImpl$ViewPostImeInputStage.processKeyEvent(ViewRootImpl.java:5580) 06-26 10:13:31.494 2418 2418 E AndroidRuntime: at android.view.ViewRootImpl$ViewPostImeInputStage.onProcess(ViewRootImpl.java:5448) 06-26 10:13:31.494 2418 2418 E AndroidRuntime: at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:4955) 06-26 10:13:31.494 2418 2418 E AndroidRuntime: at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:5008) 06-26 10:13:31.494 2418 2418 E AndroidRuntime: at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:4974) 06-26 10:13:31.494 2418 2418 E AndroidRuntime: at android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:5114) 06-26 10:13:31.494 2418 2418 E AndroidRuntime: at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:4982) 06-26 10:13:31.494 2418 2418 E AndroidRuntime: at android.view.ViewRootImpl$AsyncInputStage.apply(ViewRootImpl.java:5171) 06-26 10:13:31.494 2418 2418 E AndroidRuntime: at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:4955) 06-26 10:13:31.494 2418 2418 E AndroidRuntime: at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:5008) 06-26 10:13:31.494 2418 2418 E AndroidRuntime: at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:4974) 06-26 10:13:31.494 2418 2418 E AndroidRuntime: at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:4982) 06-26 10:13:31.494 2418 2418 E AndroidRuntime: at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:4955) 06-26 10:13:31.494 2418 2418 E AndroidRuntime: at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:5008) 06-26 10:13:31.494 2418 2418 E AndroidRuntime: at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:4974) 06-26 10:13:31.494 2418 2418 E AndroidRuntime: at android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:5147) 06-26 10:13:31.494 2418 2418 E AndroidRuntime: at android.view.ViewRootImpl$ImeInputStage.onFinishedInputEvent(ViewRootImpl.java:5308) 06-26 10:13:31.494 2418 2418 E AndroidRuntime: at android.view.inputmethod.InputMethodManager$PendingEvent.run(InputMethodManager.java:3065) 06-26 10:13:31.494 2418 2418 E AndroidRuntime: at android.view.inputmethod.InputMethodManager.invokeFinishedInputEventCallback(InputMethodManager.java:2608) 06-26 10:13:31.494 2418 2418 E AndroidRuntime: at android.view.inputmethod.InputMethodManager.finishedInputEvent(InputMethodManager.java:2599) 06-26 10:13:31.494 2418 2418 E AndroidRuntime: at android.view.inputmethod.InputMethodManager$ImeInputEventSender.onInputEventFinished(InputMethodManager.java:3042) 06-26 10:13:31.494 2418 2418 E AndroidRuntime: at android.view.InputEventSender.dispatchInputEventFinished(InputEventSender.java:143) 06-26 10:13:31.494 2418 2418 E AndroidRuntime: at android.os.MessageQueue.nativePollOnce(Native Method) 06-26 10:13:31.494 2418 2418 E AndroidRuntime: at android.os.MessageQueue.next(MessageQueue.java:336) 06-26 10:13:31.494 2418 2418 E AndroidRuntime: at android.os.Looper.loop(Looper.java:174) 06-26 10:13:31.494 2418 2418 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:7356) 06-26 10:13:31.494 2418 2418 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method) 06-26 10:13:31.494 2418 2418 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492) 06-26 10:13:31.494 2418 2418 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:930)
The device runs Android 10.
It looks like it somehow is missing the native method "org.qtproject.qt.android.QtNativeInputConnection.fullscreenMode". I have been able to use root and check that
libplugins_platforms_qtforandroid_arm64-v8a.so
(which should contain that native method) is loaded into the process (viacat /proc/<pid>/maps
.Is there something I can do to fix this issue?