use-sdk:minSdkVersion 16 不能小于库 [:cloud_firestore] 中声明的版本 19

Nid*_*dew 10 flutter

uses-sdk:minSdkVersion 16 cannot be smaller than version 19 declared in library [:cloud_firestore]
 D:\doctor_chat\build\cloud_firestore\intermediates\library_manifest\debug\AndroidManifest.xml as the library might be using APIs not available in 16

Suggestion: use a compatible library with a minSdk of at most 16,
    or increase this project's minSdk version to at least 19,
    or use tools:overrideLibrary="io.flutter.plugins.firebase.firestore" to force usage (may lead to runtime failures)
Run Code Online (Sandbox Code Playgroud)

我的代码中出现上述错误。如何解决这个问题。

在此输入图像描述

在此输入图像描述

Ahm*_*aza 17

在您的应用程序中,导航至android/app/build.gradleminsdk 并将其从 16 更改为 21

这是一张图片

希望它能解决您的问题