model_viewer_plus.dart
model_viewer_plus.dart copied to clipboard
Facing error when selecting a 3d on google pixel devices
I/cr_LibraryLoader( 6998): Successfully loaded native library I/cr_CachingUmaRecorder( 6998): Flushed 9 samples from 9 histograms. E/flutter ( 6998): [ERROR:flutter/fml/platform/android/jni_util.cc(204)] java.lang.IllegalStateException: Platform view hasn't been initialized from the platform view channel. E/flutter ( 6998): at io.flutter.plugin.platform.PlatformViewsController.initializePlatformViewIfNeeded(PlatformViewsController.java:732)
Which version of Flutter are you using?
I suppose this is the Platform View bug on the stable channel, this bug has already been fixed in the master channel.
- Change to
master. - Run
flutter clean. - Run project.
This would fix the problem.