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)
我在我的代碼中遇到了上述錯誤。如何解決這個問題。
![uses-sdk:minSdkVersion 16 不能小于庫 [:cloud_firestore] 中宣告的版本 19](https://img.uj5u.com/2022/03/17/e7428aca4e684fffb165284f41c24564.png)
![uses-sdk:minSdkVersion 16 不能小于庫 [:cloud_firestore] 中宣告的版本 19](https://img.uj5u.com/2022/03/17/3b574762ffc94ab88fc521ccc5a77774.png)
uj5u.com熱心網友回復:
在您的應用程式中導航到android/app/build.gradleminsdk 并將其從 16 更改為 21
![uses-sdk:minSdkVersion 16 不能小于庫 [:cloud_firestore] 中宣告的版本 19](https://img.uj5u.com/2022/03/17/3f48cca12f49488c9393dbdd91460d56.png)
希望它能解決你的問題
uj5u.com熱心網友回復:
進入您的專案以android/app/build.gradle歸檔并編輯minSdkVersion:
minSdkVersion 19
uj5u.com熱心網友回復:
將 minSdkVersion 16 更新為 19android/app/build.gradle
defaultConfig {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
minSdkVersion 16 // change it to 19
}
轉載請註明出處,本文鏈接:https://www.uj5u.com/gongcheng/445215.html
標籤:扑
上一篇:如何在顫振測驗中模擬功能
