-
Notifications
You must be signed in to change notification settings - Fork 0
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
[flutter_sound] SDK Version issue #2
Comments
Tau is not yet released. |
Thanks for the answer. I got it running. I will post here the steps I took to update the Android SDK for those who don't know how to do it (like me). Steps:
The There is a current bug when updating like this. Flutter will prompt a solution, which involves modifying a variable in a specific file. Repeat in the terminal after that:
|
[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?
The text was updated successfully, but these errors were encountered: