Android X: tools:replace specified at line: for attribute, but no new value specified
I think you are migrating to AndroidX libs.
Add below lines to gradle.properties file
android.useAndroidX=trueandroid.enableJetifier=true
Remove tools:replace="android:appComponentFactory"
from manifest.
Replace android.support.v7.app.AppCompatActivity
to androidx.appcompat.app.AppCompatActivity
You can try adding:
android:appComponentFactory="android.support.v4.app.CoreComponentFactory"
To the tag <application >
in your manifest.
I got same error in my project, I have resolved itYou can try it
Android Studio > Refactor > Migrate to AndroidX