Skip to content

[flutter_sound] SDK Version issue #2

@MatheusTraldi

Description

@MatheusTraldi

[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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions