我们正在尝试将 Firebase_crashlytics 集成到我们的应用程序中,但由于我们的应用程序是基于旧版本的 Flutter 构建的(它不支持 Null Safety),因此我们无法使用最新版本。然后我们决定集成 2.7.1 或更低版本,但 pubspec.lock 文件始终将版本解析为 2.9.0,这是 null 安全的,并且它会因我们的应用程序不是 null 安全而引发构建错误。
\n有人可以指导我在这方面应该做什么或不做什么吗?
\n这是我们的 Pubspec.yaml,
\nname: ------\ndescription: A new Flutter application.\n\n# The following line prevents the package from being accidentally published to\n# pub.dev using `pub publish`. This is preferred for private packages.\npublish_to: 'none' # Remove this line if you wish to publish to pub.dev\n\n# The following defines the version and build number for your application.\n# A version number is three numbers separated by …Run Code Online (Sandbox Code Playgroud)