我有一个非常奇怪的问题。当我尝试在 IDE 中调试或发布我的应用程序时,它可以工作,但是当我从 google play(内部测试)下载相同版本的应用程序时,它会启动,但是当我尝试做一些使用平台通道的事情时只是抛出一堆错误,说找不到或不存在这样的平台通道。这发生在每个平台渠道。任何想法,可能是什么问题?
这里有一些错误
E/flutter (32560): [ERROR:flutter/lib/ui/ui_dart_state.cc(177)] Unhandled Exception: MissingPluginException(No implementation found for method getAll on channel plugins.flutter.io/package_info)
E/flutter (32560): #0 MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:157)
E/flutter (32560): <asynchronous suspension>
E/flutter (32560): #1 MethodChannel.invokeMapMethod (package:flutter/src/services/platform_channel.dart:359)
E/flutter (32560): <asynchronous suspension>
E/flutter (32560): #2 PackageInfo.fromPlatform (package:package_info/package_info.dart:43)
E/flutter (32560): <asynchronous suspension>
E/flutter (32560): #3 DataHandler._asyncInitState (package:project/utils/data_handler.dart:78)
E/flutter (32560): <asynchronous suspension>
E/flutter (32560):
E/flutter (32560): [ERROR:flutter/lib/ui/ui_dart_state.cc(177)] Unhandled Exception: MissingPluginException(No implementation found for method setupPurchases on channel purchases_flutter)
E/flutter (32560): #0 MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:157)
E/flutter (32560): <asynchronous suspension>
E/flutter (32560): #1 Purchases.setup (package:purchases_flutter/purchases_flutter.dart:44)
E/flutter (32560): <asynchronous suspension>
E/flutter (32560): #2 _SplashScreenState.asyncInitState (package:project/main.dart:143)
E/flutter (32560): <asynchronous suspension>
E/flutter (32560):