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

后端 未结 9 1379
我在风中等你
我在风中等你 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:31

    I added below lines inside tag

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

    below lines inside gradle.properties file

    android.useAndroidX=true android.enableJetifier=true

    Rebuild your project.

提交回复
热议问题