|
/

flutter 集成报MissingPluginException

Yy****************71
发布于 1 年前
119来自北京
移动统计 U-App

umeng_common_sdk: ^1.3.0

UmengCommonSdk.initCommon(AndroidKey, iOSKey, "flutter");

安卓代码:

UMConfigure.preInit(this, "秘钥", "apk");

报错:

MissingPluginException(No implementation found for method initCommon on channel umeng_common_sdk)

stack:#0 MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:365:7)

<asynchronous suspension>

#1 UmengCommonSdk.initCommon (package:umeng_common_sdk/umeng_common_sdk.dart:17:29)

<asynchronous suspension>

你们文档写的不清楚,很多东西没写,其实安卓还需要手动执行这句才行,不过还没收到数据:

flutterEngine.getPlugins().add(new UmengCommonSdkPlugin());

iOS也报这个错,也按照文档执行这个了

[UMConfigure initWithAppkey:@"秘钥" channel:@"AppStore"];

1个回答
 
1 年前
来自浙江省

您好,亲,鉴于您的问题现情况,辛苦在官网提交工单,提供对应的信息截图,帮您进一步排查具体原因,路径:个人中心-客服工单-提交反馈。我们会继续为您提供服务。

Loading ...
登录社区,分享你的经验