I am using ionic framework, I used
<edit-config file="app/src/main/AndroidManifest.xml" mode="merge" target="/manifest/application" xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools">
<application android:allowBackup="false" tools:replace="android:allowBackup" />
<application android:fullBackupOnly="false" />
</edit-config>
to avoid backup service in android app.
I added this in config.xml and it gets added automatically to the manifest but xmlns: tools="http://schemas.android.com/tools" is need to be added manually in the manifest otherwise builds fails and throws an error :
The prefix "tools" for attribute "tools: replace" associated with an element type "application" is not bound.
Is there any way that I can add xmlns automatically from the config file to android manifest?