当前位置: 首页 > 知识库问答 >
问题:

错误:未找到成员:FirebaseAppPlatform.verify扩展

蒋奕
2023-03-14

错误:找不到成员:“FirebaseAppPlatform.verifyExtends”。FirebaseAppPlatform.verifyExtends(_delegate);

flutter clean
flutter pub get
pod install

共有3个答案

冯开诚
2023-03-14

我也有同样的问题。我的一些插件运行在旧的过时的软件包上,正如其他人提到的,有一个重大的版本升级。当运行< code>flutter pub upgrade时,它只升级到最新的次要版本。为了解决这个问题,我做了以下工作:

flutter pub upgrade --major-versions

以升级到受支持的最新版本。在那之后,一切都很好!

请注意,这可能会在您的代码中引入一些破坏性的更改。但至少在这里,您可以修复您的代码以在最新的库包上运行并运行您的应用程序

越安翔
2023-03-14

您也可以将依赖项覆盖添加到根 pubspec.yaml 以解决此问题。
如果您在项目中使用多个本地包,这样您就不必更新所有 pubspec.yaml 文件

dependency_overrides:
  firebase_core_platform_interface: 4.5.1

添加之后,运行以下命令来更新iOS项目的窗格

cd ios && pod deintegrate
cd ios && rm -f Podfile.lock
flutter packages get
cd ios && pod install --repo-update
葛晔
2023-03-14

我想这解决了我的第二个问题:4.5.1依赖.../pubspec.yaml -

  firebase_core_platform_interface: 4.5.1
  firebase_messaging: ^13.0.4 # will satisfy your firebase core things that depend on ^4.5.1

GitHub参考:https://github.com/firebase/flutterfire/issues/9806#issuecomment-1294003289

 类似资料:
  • 当我为我的项目运行我的bitbucket管道时,我在颤振测试期间得到一个错误: /root/.pub-cache/hosted/pub.dartlang.org/firebase_core-1.24.0/lib/src/firebase_app.dart: 18:25:错误:未找到成员:'FirebaseAppPlatform.verify扩展'。FirebaseAppPlatform.verif

  • 我试图通过pip mysql安装python 3.5。我发现我在“C:\ Program Files(x86)\ Microsoft Visual Studio 9.0 \ VC \ vcvarsall.bat”中找到了丢失的文件vcvarsall.bat,但我不知道如何修改istall脚本以指向vcvarsall . bat 这是安装的输出。我已经尝试了建议的解决方案,我已经安装了Express

  • 我不确定我是应该回应这个帖子(CodenameOne在构建后停止工作)还是发布一个新的帖子。 我使用的IDE是IntelliJ。当我打开一个codename one project时,它无法识别它是一个codename one project(codename one按钮是灰色的)。

  • 一旦我导入FormsMoules我开始得到这个错误。我正在使用MatFormField,它似乎无法与FormsMoules一起工作。

  • Traceback(最近的最后一次调用):文件"C:/用户/AppData/本地/程序/Python/Python37/client.py",第54行,引号=json.loads(urllib.request.urlopen(QUERY.格式(random.random())). read())文件"C:\用户\AppData\本地\程序\Python\Python37\lib\urllib\re

  • 考虑以下代码: 编译时使用-std=c 11,在clang中,