Skip to content

Android minSdkVersion inconsistent with react-native #9

@sjyoung12

Description

@sjyoung12

Android build fails on account of inconsistent minSdkVersion, which is set to 10 in instabug-reactnative and 16 in react-native:

Error:Execution failed for task ':instabug-reactnative:processDebugAndroidTestManifest'.
> Manifest merger failed : uses-sdk:minSdkVersion 10 cannot be smaller than version 16 declared in library [com.facebook.react:react-native:0.20.1] /.../node_modules/instabug-reactnative/android/build/intermediates/exploded-aar/com.facebook.react/react-native/0.20.1/AndroidManifest.xml
      Suggestion: use tools:overrideLibrary="com.facebook.react" to force usage

Here is where minSdkVersion is set:

// android/build.gradle
defaultConfig {
    minSdkVersion 10
    ... 
}

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