Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Increase minSdk to 19 for Android in order to allow builds #1528

Closed
basvdijk opened this issue Jun 7, 2024 · 3 comments · Fixed by #1530
Closed

Increase minSdk to 19 for Android in order to allow builds #1528

basvdijk opened this issue Jun 7, 2024 · 3 comments · Fixed by #1530
Labels
new issue An issue that hasn't yet been seen from the maintainer stale

Comments

@basvdijk
Copy link

basvdijk commented Jun 7, 2024

I got the error

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)

On https://github.com/miguelpruivo/flutter_file_picker/blob/master/android/build.gradle#L28 the minSdkVersion is 16

Please increase it to at least 19

When building in Flutter it gives:

uses-sdk:minSdkVersion 16 cannot be smaller than version 19 declared in library [:flutter_plugin_android_lifecycle] 
@basvdijk basvdijk added the new issue An issue that hasn't yet been seen from the maintainer label Jun 7, 2024
Copy link

This issue is stale because it has been open for 7 days with no activity.

@github-actions github-actions bot added the stale label Jun 16, 2024
@BalasubramaniSundaram95
Screenshot 2024-06-21 at 12 31 46 AM

@github-actions github-actions bot removed the stale label Jun 21, 2024
Copy link

This issue is stale because it has been open for 7 days with no activity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new issue An issue that hasn't yet been seen from the maintainer stale
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants