Skip to content

Downgrade minSdkVersion #283

@jared-94

Description

@jared-94

The official minSdkVersion from latest React Native (0.81.1) framework is 24
https://github.com/facebook/react-native/blob/main/packages/react-native/ReactAndroid/src/main/AndroidManifest.xml

Compiling with react-native-vlc-media-player (which is configured with minSdkVersion =26) leads to a Manifest merger error.

Manifest merger failed : uses-sdk:minSdkVersion 24 cannot be smaller than version 26 declared in library [:react-native-vlc-media-player] D:\Info\myApp\node_modules\react-native-vlc-media-player\android\build\intermediates\merged_manifest\debug\processDebugManifest\AndroidManifest.xml as the library might be using APIs not available in 24
        Suggestion: use a compatible library with a minSdk of at most 24,
                or increase this project's minSdk version to at least 26,
                or use tools:overrideLibrary="com.yuanzhou.vlc" to force usage (may lead to runtime failures)

Thus, it would be nice to downgrade to 24.

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions