simolus3 / fluttie

Easily display stunning Lottie animations in flutter apps with this plugin.
Other
453 stars 54 forks source link

Android-java.lang.UnsupportedOperationException: The new embedding does not support the old FlutterView #33

Open HolyCrazy opened 3 years ago

HolyCrazy commented 3 years ago

D/libGLESv2( 6122): STS_GLApi : DTS, ODTC are not allowed for Package : com.lottie_test V/Surface ( 6122): sf_framedrop debug : 0x4f4c, game : false, logging : 0 E/MethodChannel#fluttie/methods( 6122): Failed to handle method call E/MethodChannel#fluttie/methods( 6122): java.lang.UnsupportedOperationException: The new embedding does not support the old FlutterView. E/MethodChannel#fluttie/methods( 6122): at io.flutter.embedding.engine.plugins.shim.ShimRegistrar.view(ShimRegistrar.java:82) E/MethodChannel#fluttie/methods( 6122): at de.simolus3.fluttie.FluttiePlugin.getAnimationCallback(FluttiePlugin.java:69) E/MethodChannel#fluttie/methods( 6122): at de.simolus3.fluttie.FluttieAnimation.(FluttieAnimation.java:42) E/MethodChannel#fluttie/methods( 6122): at de.simolus3.fluttie.FluttiePlugin.onMethodCall(FluttiePlugin.java:136) E/MethodChannel#fluttie/methods( 6122): at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:230) E/MethodChannel#fluttie/methods( 6122): at io.flutter.embedding.engine.dart.DartMessenger.handleMessageFromDart(DartMessenger.java:85) E/MethodChannel#fluttie/methods( 6122): at io.flutter.embedding.engine.FlutterJNI.handlePlatformMessage(FlutterJNI.java:692) E/MethodChannel#fluttie/methods( 6122): at android.os.MessageQueue.nativePollOnce(Native Method) E/MethodChannel#fluttie/methods( 6122): at android.os.MessageQueue.next(MessageQueue.java:325) E/MethodChannel#fluttie/methods( 6122): at android.os.Looper.loop(Looper.java:142) E/MethodChannel#fluttie/methods( 6122): at android.app.ActivityThread.main(ActivityThread.java:6942) E/MethodChannel#fluttie/methods( 6122): at java.lang.reflect.Method.invoke(Native Method) E/MethodChannel#fluttie/methods( 6122): at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:327) E/MethodChannel#fluttie/methods( 6122): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1374) I/zygote64( 6122): Do partial code cache collection, code=30KB, data=20KB I/zygote64( 6122): After code cache collection, code=29KB, data=20KB I/zygote64( 6122): Increasing code cache capacity to 128KB E/flutter ( 6122): [ERROR:flutter/lib/ui/ui_dart_state.cc(166)] Unhandled Exception: PlatformException(error, The new embedding does not support the old FlutterView., null) E/flutter ( 6122): #0 StandardMethodCodec.decodeEnvelope (package:flutter/src/services/message_codecs.dart:572:7) E/flutter ( 6122): #1 MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:161:18)