Android X: tools:replace specified at line: for attribute, but no new value specified

后端 未结 9 1408
我在风中等你
我在风中等你 2020-12-05 03:34

I have tried many solutions on this website but still, the problem is not solved. The issue is due to Android X library. When I added Android X, this issue was resolved but

9条回答
  •  无人及你
    2020-12-05 04:13

    migrate to android x

    add below lines inside tag

        tools:replace="android:appComponentFactory"
        android:appComponentFactory="android.support.v4.app.CoreComponentFactory"
    

    then also add below lines inside gradle.properties file

      android.useAndroidX=true
      android.enableJetifier=true
    

    Rebuild your project.

提交回复
热议问题