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
{{ message }}
This repository has been archived by the owner on Oct 10, 2024. It is now read-only.
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.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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 requiresminSdkVersion 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 usingext.kotlin_version = '1.8.0'
.Please inform how I can use this package in a flutter app that supports SDK versions 21 and above.
The text was updated successfully, but these errors were encountered: