Skip to content

> Task :rn-user-defaults:processDebugAndroidTestManifest FAILED #3

@zardazare

Description

@zardazare

react-native 0.64.2

Build command for testing is failing:

./gradlew assembleDebug assembleAndroidTest -DtestBuildType=debug

Build command is used in a combination with detox build/detox test configurations.

Task :rn-user-defaults:processDebugAndroidTestManifest FAILED
[androidx.vectordrawable:vectordrawable-animated:1.0.0] $HOME/.gradle/caches/transforms-2/files-2.1/ec3fddf24b26d7deb84606b8aa100c87/vectordrawable-animated-1.0.0/AndroidManifest.xml Warning:
Package name 'androidx.vectordrawable' used in: androidx.vectordrawable:vectordrawable-animated:1.0.0, androidx.vectordrawable:vectordrawable:1.0.1.
$HOME/projectName/node_modules/rn-user-defaults/android/build/intermediates/tmp/manifest/androidTest/debug/manifestMerger8893686713936525916.xml:5:5-74 Error:
uses-sdk:minSdkVersion 16 cannot be smaller than version 21 declared in library [com.facebook.react:react-native:0.64.2] $HOME/.gradle/caches/transforms-2/files-2.1/91d9154e6c9cdfb163556c5c86d67a1e/jetified-react-native-0.64.2/AndroidManifest.xml as the library might be using APIs not available in 16
Suggestion: use a compatible library with a minSdk of at most 16,
or increase this project's minSdk version to at least 21,
or use tools:overrideLibrary="com.facebook.react" to force usage (may lead to runtime failures)

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