You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Task :file_picker:processDebugAndroidTestManifest FAILED
/build/file_picker/intermediates/tmp/manifest/androidTest/debug/tempFile1ProcessTestManifest3410324268530054149.xml:5:5-74 Error:
uses-sdk:minSdkVersion 16 cannot be smaller than version 19 declared in library [:flutter_plugin_android_lifecycle] //build/flutter_plugin_android_lifecycle/intermediates/merged_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.flutter_plugin_android_lifecycle" to force usage (may lead to runtime failures)
I got the error
On https://github.com/miguelpruivo/flutter_file_picker/blob/master/android/build.gradle#L28 the
minSdkVersion
is16
Please increase it to at least
19
When building in Flutter it gives:
The text was updated successfully, but these errors were encountered: