Error in the manifest after the update

I was parked for a while and recently I decided to continue with the project. I open it and ask for an update. I update everything and get the following error when compiling

ERROR: Manifest merger failed : Attribute application@appComponentFactory value=( from ( AndroidManifest.xml:22:18-91
    is also present at (androidx.core:core:1.0.0) AndroidManifest.xml:22:18-86 value=(
    Suggestion: add 'tools:replace="android:appComponentFactory"' to  element at AndroidManifest.xml:6:5-36:19 to override.

I add the line specified in the manifest, but it still gives me errors.
So much for an update?

I have the manifesto like that