Start a new topic
Solved

[Error] Trying to create a platform view of unregistered type: architectwidget

 

 

 

 

 

 

 


I got error message like below.
Anyone has any idea?
Thank you.

 


===============================


Launching lib\main.dart on Android SDK built for x86 in debug mode...
√ Built build\app\outputs\flutter-apk\app-debug.apk.
Connecting to VM Service at ws://127.0.0.1:24173/93R86LK0Llk=/ws
D/EGL_emulation( 9213): eglMakeCurrent: 0xe8dab040: ver 2 0 (tinfo 0xe0d0fbf0)
D/eglCodecCommon( 9213): setVertexArrayObject: set vao to 0 (0) 1 0
E/flutter ( 9213): [ERROR:flutter/lib/ui/ui_dart_state.cc(199)] Unhandled Exception: PlatformException(error, java.lang.IllegalStateException: Trying to create a platform view of unregistered type: architectwidget
E/flutter ( 9213): at io.flutter.plugin.platform.PlatformViewsController$1.createVirtualDisplayForPlatformView(PlatformViewsController.java:192)
E/flutter ( 9213): at io.flutter.embedding.engine.systemchannels.PlatformViewsChannel$1.create(PlatformViewsChannel.java:104)
E/flutter ( 9213): at io.flutter.embedding.engine.systemchannels.PlatformViewsChannel$1.onMethodCall(PlatformViewsChannel.java:59)
E/flutter ( 9213): at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:233)
E/flutter ( 9213): at io.flutter.embedding.engine.dart.DartMessenger.handleMessageFromDart(DartMessenger.java:85)
E/flutter ( 9213): at io.flutter.embedding.engine.FlutterJNI.handlePlatformMessage(FlutterJNI.java:818)
E/flutter ( 9213): at android.os.MessageQueue.nativePollOnce(Native Method)
E/flutter ( 9213): at android.os.MessageQueue.next(MessageQueue.java:336)
E/flutter ( 9213): at android.os.Looper.loop(Looper.java:174)
E/flutter ( 9213): at android.app.ActivityThread.main(ActivityThread.java:7356)
E/flutter ( 9213): at java.lang.reflect.Method.invoke(Native Method)
E/flutter ( 9213): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
E/flutter ( 9213): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:930)
E/flutter ( 9213): , null, null)
E/flutter ( 9213): #0 StandardMethodCodec.decodeEnvelope
E/flutter ( 9213): #1 MethodChannel._invokeMethod
E/flutter ( 9213): <asynchronous suspension>
E/flutter ( 9213): #2 TextureAndroidViewController._sendCreateMessage
E/flutter ( 9213): <asynchronous suspension>
E/flutter ( 9213): #3 AndroidViewController.create
E/flutter ( 9213): <asynchronous suspension>
E/flutter ( 9213): #4 RenderAndroidView._sizePlatformView
E/flutter ( 9213): <asynchronous suspension>
E/flutter ( 9213):
I/Choreographer( 9213): Skipped 31 frames! The application may be doing too much work on its main thread.


Hello,


Could you please provide further details on the issue:

  • Which version of the SDK are you using?
  • Are you using the JS API?
  • Are you using any of our Extensions (Titanium, Cordova, Xamarin, Unity)? If yes, which version are you using?
  • What device does this happen with (os Version and model)?
  • Does this happen also with our sample code or with your own app?


Thanks,

Eva

Which version of the SDK are you using?

: I am using Wikitude SDK 9.9


Are you using the JS API?

 : No I'm not


Are you using any of our Extensions (Titanium, Cordova, Xamarin, Unity)? If yes, which version are you using?

What device does this happen with (os Version and model)?

 [√] Flutter (Channel stable, 2.2.3, on Microsoft Windows [Version 10.0.19043.1110], locale ko-KR)

     • Flutter version 2.2.3

     • Dart version 2.13.4

 [√] Android toolchain - develop for Android devices (Android SDK version 30.0.2)

 [√] Android Studio (version 4.1.0)

     • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)

 [√] VS Code (version 1.58.2)

     • Flutter extension version 3.25.0

 [√] Connected device (4 available)

     • Android SDK built for x86 (mobile) • emulator-5554 • android-x86 • Android 10 (API 29) (emulator)


Does this happen also with our sample code or with your own app?

: I used sample source from https://support.wikitude.com/support/discussions/topics/5000092712



Thank you.

 

 

 

 

 

 

 

 

Login or Signup to post a comment