Fixing Flutter Build Failed with Exception| Adding pubdev Plugin Troubleshooting Guide 🛠️

Опубликовано: 30 Сентябрь 2024
на канале: FlutterFix
47
1

Common Issue: Build failed with an Exception while adding any plugin

The plugin used in this video: google_maps_flutter_android

* What went wrong:
Manifest merger failed : uses-sdk:minSdkVersion 19 cannot be smaller than version 20 declared in the library google_maps_flutter_android

*The plugin google_maps_flutter_android requires a higher Android SDK version.

Flutter Fix: Fix this issue by adding the following to the file

File Location: android project - App - build.gradle
android - defaultConfig - minSdkVersion 20 .

Note: Following this change, your app will not be available to users running Android SDKs below 20.

#flutterdeveloper #flutterfix #fluttertutorialforbeginners #flutterdev #exceptionhandling