The plugin firebase database requires a higher Android SDK version | Flutter

preview_player
Показать описание
The plugin firebase database requires a higher Android SDK version | Flutter
My Flutter App is not running after adding cloud_firebase package

BUILD FAILED in 31s
The plugin cloud_firestore requires a higher Android SDK version.
android {
defaultConfig {
minSdkVersion 19
}
}
Note that your app won't be available to users running Android SDKs below 19.
Alternatively, try to find a version of this plugin that supports these lower versions of the Android SDK.
Exception: Gradle task assembleDebug failed with exit code 1

Suggestion: use a compatible library with a minSdk of at most 16,
or increase this project's minSdk version to at least 19,

defaultConfig {
minSdkVersion 21
targetSdkVersion 30
versionName flutterVersionName
}
Рекомендации по теме
Комментарии
Автор

I appreciate you fixing this problem.
I experienced the exact same issue.

ahmedmustafa
Автор

When i changed my minsdkversion to 21 my emulator is not showing anything just white screen

mehulsuthar
Автор

using androapp plugin, how to change api level, kindly help

odishalocaljobs
Автор

Thanks for solving this error.
I am facing the same problem.

rushikeshpatil
Автор

What a coincidence, I'm making same interface which looks exactly the same as another Youtuber I'm learning from and I'm having same error

beom-seok
visit shbcf.ru