![]() ![]() But flutter has still set default minSdkVersion to 16. If you didn't know, Google Playstore only allows minSdkVersion to be 20 or above. TargetSdkVersion localProperties.getProperty('flutter.targetSdkVersion').toInteger() MinSdkVersion localProperties.getProperty('flutter.minSdkVersion').toInteger() First go to the android->local.propertiesĬompileSdkVersion localProperties.getProperty('pileSdkVersion').toInteger().You should change from local.properties following instruction: TargetSdkVersion flutter.targetSdkVersion ![]() VersionCode flutterVersionCode.toInteger()ĬompileSdkVersion pileSdkVersion Is it possible to increase the minSdkVersion with Flutter, and how? If I were on Android Studio, I'd know how to bump up the Android minSdkVersion, but on a Flutter project (using VSCode) I was a little lost. Or use tools:overrideLibrary="" to force usage (may lead to runtime failures) Or increase this project's minSdk version to at least 19, Suggestion: use a compatible library with a minSdk of at most 16, > Manifest merger failed : uses-sdk:minSdkVersion 16 cannot be smaller than version 19 declared in library /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 Unfortunately, when trying to run (on an Android device) the first example I created I was met with the following error: FAILURE: Build failed with an exception.Įxecution failed for task ':app:processDebugManifest'. I was trying to start a flutter project for an App using Bluetooth to communicate.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |