-
Notifications
You must be signed in to change notification settings - Fork 0
Description
[flutter_sound: ^9.19.1]
After installing the package, the Android build crashes with the error:
C:\Users\mathe\musical_leds_controller\android\app\src\debug\AndroidManifest.xml Error:
uses-sdk:minSdkVersion 21 cannot be smaller than version 24 declared in library [:flutter_sound] C:\Users\mathe\musical_leds_controller\build\flutter_sound\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="xyz.canardoux.fluttersound" to force usage (may lead to runtime failures)
I can't find a valid way to overcome it. What's a good suggestion, please?