Because multiple tools:replace are needed in the project, the usage is as follows
<application
.....。
android:allowBackup="false"
android:appComponentFactory="AAA"
tools:replace="android:appComponentFactory,android:allowBackup">
Just separate tools:replace with a comma.