React-native-fast-image: run error

Created on 6 Jul 2019  路  3Comments  路  Source: DylanVann/react-native-fast-image

Manifest merger failed : Attribute application@appComponentFactory value=(androidx.core.app.CoreComponentFactory) from [androidx.core:core:1.0.0] AndroidManifest.xml:22:18-86
is also present at [com.android.support:support-compat:28.0.0] AndroidManifest.xml:22:18-91 value=(android.support.v4.app.CoreComponentFactory).
Suggestion: add 'tools:replace="android:appComponentFactory"' to element at AndroidManifest.xml:7:5-117 to override.

bug

Most helpful comment

Downgrading to 6.1.1 solved it for me. Maybe it's because they added AndroidX support in 7.0.0.

All 3 comments

Downgrading to 6.1.1 solved it for me. Maybe it's because they added AndroidX support in 7.0.0.

I think it only supports newer version of react-native. They should probably update the docs.

Adding below two lines in gradle.properties file fix this error but lead to more new errors.

android.useAndroidX=true
android.enableJetifier=true

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mschipperheyn picture mschipperheyn  路  3Comments

baba43 picture baba43  路  3Comments

hawkup picture hawkup  路  3Comments

OmarBasem picture OmarBasem  路  3Comments

kkarmalkar picture kkarmalkar  路  4Comments