How to delete REQUEST_INSTALL_PACKAGES permission?

i am using ionic-5.
in AndroidManifest.xml we modified with
<uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES" tools:node="remove" />.

then if we build again its adding new uses-permission in AndroidManifest.xml and showing error like

> Configure project :app
registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)