Start a new topic
Solved

Flutter Android AR View Freeze. Display ID mismatch found.

 I'm using the Flutter plugin for Wikitude. Version 9.9.0. The error message reports like below. Flutter 

The world should be able to update the displayed text on the HTML element, but now it cannot update. The content displayed froze.


https://github.com/Haoran101/FYP-HiSG/tree/main/samples/01_AR_navigation

V/InputMethodManager(15248): b/117267690: Display ID mismatch found. ViewRootImpl displayId=98 InputMethodManager displayId=0. Use the right InputMethodManager instance to avoid performance overhead.       
V/InputMethodManager(15248): java.lang.Throwable
V/InputMethodManager(15248):    at android.view.inputmethod.InputMethodManager.getFallbackInputMethodManagerIfNecessary(InputMethodManager.java:610)
V/InputMethodManager(15248):    at android.view.inputmethod.InputMethodManager.isActive(InputMethodManager.java:1452)
V/InputMethodManager(15248):    at yJ.b(chromium-TrichromeWebViewGoogle6432.aab-stable-484407334:2)    
V/InputMethodManager(15248):    at org.chromium.content.browser.input.ImeAdapterImpl.k(chromium-TrichromeWebViewGoogle6432.aab-stable-484407334:3)
V/InputMethodManager(15248):    at org.chromium.content.browser.input.ImeAdapterImpl.s(chromium-TrichromeWebViewGoogle6432.aab-stable-484407334:5)
V/InputMethodManager(15248):    at org.chromium.content.browser.input.ImeAdapterImpl.onConnectedToRenderProcess(chromium-TrichromeWebViewGoogle6432.aab-stable-484407334:4)
V/InputMethodManager(15248):    at J.N.MAqmDh4t(Native Method)
V/InputMethodManager(15248):    at org.chromium.content.browser.framehost.NavigationControllerImpl.i(chromium-TrichromeWebViewGoogle6432.aab-stable-484407334:17)
V/InputMethodManager(15248):    at org.chromium.android_webview.AwContents.w(chromium-TrichromeWebViewGoogle6432.aab-stable-484407334:47)
V/InputMethodManager(15248):    at org.chromium.android_webview.AwContents.v(chromium-TrichromeWebViewGoogle6432.aab-stable-484407334:17)
V/InputMethodManager(15248):    at com.android.webview.chromium.WebViewChromium.loadDataWithBaseURL(chromium-TrichromeWebViewGoogle6432.aab-stable-484407334:5)
V/InputMethodManager(15248):    at android.webkit.WebView.loadDataWithBaseURL(WebView.java:870)        
V/InputMethodManager(15248):    at com.wikitude.architect.ArchitectView.load(Unknown Source:130)       
V/InputMethodManager(15248):    at com.wikitude.wikitude_plugin.ArchitectWidget.onMethodCall(ArchitectWidget.java:189)
V/InputMethodManager(15248):    at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:262)
V/InputMethodManager(15248):    at io.flutter.embedding.engine.dart.DartMessenger.invokeHandler(DartMessenger.java:296)
V/InputMethodManager(15248):    at io.flutter.embedding.engine.dart.DartMessenger.lambda$dispatchMessageToQueue$0$DartMessenger(DartMessenger.java:320)
V/InputMethodManager(15248):    at io.flutter.embedding.engine.dart.-$$Lambda$DartMessenger$AIEPqY6mWzaNK15HekX9bftoAXs.run(Unknown Source:12)
V/InputMethodManager(15248):    at android.os.Handler.handleCallback(Handler.java:938)
V/InputMethodManager(15248):    at android.os.Handler.dispatchMessage(Handler.java:99)
V/InputMethodManager(15248):    at android.os.Looper.loopOnce(Looper.java:226)
V/InputMethodManager(15248):    at android.os.Looper.loop(Looper.java:313)
V/InputMethodManager(15248):    at android.app.ActivityThread.main(ActivityThread.java:8641)
V/InputMethodManager(15248):    at java.lang.reflect.Method.invoke(Native Method)
V/InputMethodManager(15248):    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:567)
V/InputMethodManager(15248):    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1133)   

 Flutter doctor -v


 

[√] Flutter (Channel beta, 2.9.0-0.1.pre, on Microsoft Windows [Version 10.0.19043.1586], locale en-SG)    • Flutter version 2.9.0-0.1.pre at C:\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 8f1f9c10f0 (4 months ago), 2021-12-14 13:41:48 -0800
    • Engine revision 234aca678a
    • Dart version 2.16.0 (build 2.16.0-80.1.beta)
    • DevTools version 2.9.1

[√] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at C:\Users\Christina\AppData\Local\Android\sdk
    • Platform android-31, build-tools 31.0.0
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe

[√] Android Studio (version 2020.3)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)

[√] VS Code (version 1.66.0)
    • VS Code at C:\Users\Christina\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.36.0

 


The program is also not responding to the Dart code architectWidget.setLocation()


I have no idea what to do.

Hi,


The "ID mismatch found" issue happens when you use a license key you can't use. After having a look at your project, it seems that you are using the same license key we have in our samples repository and that won't work. I suggest you to create your own trial license key in https://www.wikitude.com/product/wikitude-sdk-trial/ so you can start testing your application.


Best regards,

Aitor.

Hi,


The "ID mismatch found" issue happens when you use a license key you can't use. After having a look at your project, it seems that you are using the same license key we have in our samples repository and that won't work. I suggest you to create your own trial license key in https://www.wikitude.com/product/wikitude-sdk-trial/cookie clicker so you can start testing your application.


Best regards,

Aitor.

Thanks I followed your instructions to generate the trial license key it's pretty good.

Hello, sorry for opening again this topic, but I am getting the same error.

I have a valid key and I try to make a bug fix release without changing the plugin version.

How I shall overcome this issue, without having to renew my license?

Hi Michael,


You have purchased a one-time fee license in January 2022. So you should use an SDK that has been released until that date (and no longer than that) in order to prevent this error from happening.


This error occurs when you try to use license key with and SDK  version that is not valid.


Thanks,

Eva

Login or Signup to post a comment