1. MissingPluginException(No implementation found for method getPlatformVersion
引擎创建方式不正确导致自动生成类 GeneratedPluginRegistrant.registerWith()方法没有自动调用
如下图自动注册Plugin参数为false
自定义FlutterFragment手动注册Plugin
创建FlutterFragment时指定类型参数
2. flutter源码直接依赖到SDK中编译问题
Build was configured to prefer settings repositories over project repositories but repository 'maven' was added by plugin class 'FlutterPlugin'