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)
我得到上面的错误在我的代码。如何解决这个问题。
3条答案
按热度按时间svmlkihl1#
在应用中导航到
android/app/build.gradle
并将minsdk从16更改为21希望它能解决你的问题
hzbexzde2#
在项目中转到
android/app/build.gradle
文件,并将minSdkVersion
编辑为:r7knjye23#
将
android/app/build.gradle
中的minSdk版本16更新为19