How to Change Android minSdkVersion in Flutter? Last Updated : 28 Apr, 2025 Comments Improve Suggest changes Like Article Like Report If you are a Flutter developer, then you very well know about the minSdkVersion in Flutter. But the problem is that sometimes we need to change its value to a higher value because some package of flutter won't work on the default minSdkVersion value 16. If you didn't know, Google Plays tore only allows minSdkVersion to be 20 or above. But flutter has still set the default minSdkVersion to 16. FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':app:processDebugManifest'. > Manifest merger failed : uses-sdk:minSdkVersion 16 cannot be smaller than version 19 declared in library [:flutter_blue] /home/maldus/Projects/flutter/polmac/build/flutter_blue/intermediates/manifests/full/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="com.pauldemarco.flutterblue" to force usage (may lead to runtime failures) Flutter 2.8 or Later build.gradle update Before Updating to Flutter 2.8 Dart vandroid { compileSdkVersion 30 defaultConfig { applicationId "com.example.app" minSdkVersion 21 // change minSdkVersion here targetSdkVersion 30 versionCode flutterVersionCode.toInteger() versionName flutterVersionName multiDexEnabled true } After updating to Flutter 2.8: Dart android { compileSdkVersion flutter.compileSdkVersion defaultConfig { applicationId "com.example.app" minSdkVersion flutter.minSdkVersion targetSdkVersion flutter.targetSdkVersion versionCode flutterVersionCode.toInteger() versionName flutterVersionName } You should change from local.properties by the following instructions: First, go to the android > local.properties.and add the following lineflutter.minSdkVersion=23 //added line Dart sdk.dir=C:\\Users\\ms471\\AppData\\Local\\Android\\sdk flutter.sdk=C:\\src\\flutter flutter.buildMode=debug flutter.versionName=1.0.0 flutter.versionCode=1 flutter.minSdkVersion=23 // added line And now go to the build.gradle in the app level.Change like this from build.gradle. Dart defaultConfig { // changed line minSdkVersion localProperties.getProperty('flutter.minSdkVersion').toInteger() targetSdkVersion flutter.targetSdkVersion versionCode flutterVersionCode.toInteger() versionName flutterVersionName } Now re-restart your flutter application, You will see its work!!. Comment More infoAdvertise with us Next Article How to Change Android minSdkVersion in Flutter? M ms471841 Follow Improve Article Tags : Flutter Dart Similar Reads How to Install Flutter App on Android? The hottest and trending cross-platform framework, Flutter is Google's SDK for crafting beautiful, fast user experiences for mobile, web, and desktop with just a single codebase, meaning you write for one, build for three. Flutter works with existing code, is used by developers and organizations aro 4 min read How to Import Existing Flutter Project in Android Studio? In this article, we are going to see the process of importing an existing flutter Project into the Android Studio. This is going to be quite easy, we just have to take care of some steps involved in it. Before going on the main topic let's have brief info about Flutter and Android Studio as well. Fl 3 min read How to Change Package Name in Flutter? Every Flutter app has a package name that uniquely identifies your app on the Google Play Store and Apple App Store. In this article, we will learn how to change the package name with a simple and easy method. The package name is basically a unique identity to identify that app on App Store, Play St 2 min read How to Run a Flutter App on Android Emulator? An emulator is a virtual device created to run programs/applications derived from the host system. An Android Emulator imitates an Android device and is used to run and test Android applications on your host system without requiring the presence of a physical Android device. To run your Flutter appl 3 min read How to Add Custom Markers on Google Maps in Flutter? Google Maps is one of the popular apps used nowadays for navigation or locating markers on Google Maps. We have seen markers on Google Maps for various locations. But In this article, we are going to see how to implement multiple custom markers on Google Maps in Flutter. Step By Step ImplementationS 4 min read How to Add Firebase into Flutter in a New Way? Recently Firebase give another option for adding Firebase to Flutter and It is only made for Flutter, As of now we add firebase using the android option for flutter but now we can add using the flutter option that is recently updated by Flutter. Here you can find how to add firebase as an Android in 2 min read How to Move Camera to any Position in Google Maps in Flutter? Google Maps is of the most used application nowadays for navigation. If search for any location our camera on Google Map moves to that position. In this article, we are going to see how to Move the Camera to any Position in Google Maps in Flutter. Step By Step ImplementationStep 1: Create a New Pro 4 min read How to Add Splash Screen in Flutter App? We all have heard of Flutter right, it's a cross-platform application development tool. Flutter can be used to make Android, IOS, and Web applications with just one code base (Dart programming language). In this article let's see how we can add a splash screen to our applications. What is Splash Scr 3 min read How to Implement Adaptive and Responsive NavBar in Flutter? NavigationBar in web applications plays a crucial role. And different frameworks have different styles to implement. In Flutter, we have to mention differently for both mobile and website. But we can implement, the same navigation items in the drawer with this adaptive_navbar package in Flutter.  Ho 2 min read How to Make Simple BMI Calculator App in Flutter? Flutter SDK is an open-source Software Development Kit for building beautiful UI natively compiled in Android Studio. In this article, we will create a Simple BMI Calculator App using Flutter in Android Studio that can take height and weight. Based on that, it will show you the BMI, as well as the t 4 min read Like