Android Material and appcompat Manifest merger failed in react-native or ExpoKit

前端 未结 13 1293
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-15 16:07

I updated \'android.support:appcompat-v7\' to 28.0.0.

But it brought an error from the build.

Attribute application@appComponentFactory          


        
相关标签:
13条回答
  • 2020-12-15 16:44

    After spending a whole day on this issue. Finally, I have resolved this issue.

    I got that error from react-native-device-info and react-native-fast-image library. I just remove that library from package.json file and then install

    "react-native-device-info": "^2.1.2", "react-native-fast-image": "^6.0.3" this latest version

    I have used below gradle version

    classpath 'com.android.tools.build:gradle:3.3.1'
    

    I have used below properties version

    distributionUrl=https\://services.gradle.org/distributions/gradle-5.1.1-all.zip
    

    I have used below versions

    buildToolsVersion = "28.0.3"
    minSdkVersion = 16
    compileSdkVersion = 28
    targetSdkVersion = 28
    supportLibVersion = "28.0.0"
    
    0 讨论(0)
提交回复
热议问题