Skip to content
This repository has been archived by the owner on Oct 10, 2024. It is now read-only.

v2.0.0 still requires minSdkVersion 24 #55

Open
ShahoodulHassan opened this issue Mar 26, 2024 · 0 comments
Open

v2.0.0 still requires minSdkVersion 24 #55

ShahoodulHassan opened this issue Mar 26, 2024 · 0 comments

Comments

@ShahoodulHassan
Copy link

ShahoodulHassan commented Mar 26, 2024

Hi,

My flutter app supports Android SDK versions 21 and above and so I selected light_compressor v 2.0.0 because as per documentation, it requires minSdkVersion 21. However, I'm still getting the following error:

C:\AndroidStudioFlutterProjects\HECentral\android\app\src\debug\AndroidManifest.xml Error: uses-sdk:minSdkVersion 21 cannot be smaller than version 24 declared in library [:light_compressor] C:\AndroidStudioFlutterProjects\HECentral\build\light_compressor\intermediates\merged_manifest\debug\AndroidManifest.xml as the library might be using APIs not available in 21 Suggestion: use a compatible library with a minSdk of at most 21, or increase this project's minSdk version to at least 24, or use tools:overrideLibrary="com.abedelazizshe.light_compressor" to force usage (may lead to runtime failures)

I've added implementation 'com.github.AbedElazizShe:LightCompressor:1.2.2' in module level build file. In app level build file, I'm using ext.kotlin_version = '1.8.0'.

Please inform how I can use this package in a flutter app that supports SDK versions 21 and above.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant