First, make sure the AndroidManifest, mainTemplate, and gradleTemplate files can be updated. To do this, go to Edit > Project Settings > Publishing Settings and enable the following options:
Custom Main Manifest: Makes the manifest file editable so you can add additional configurations.
Custom Main Gradle Template: Makes the Gradle template editable for adding custom properties.
Custom Gradle Properties Template: Allows you to manually build options and dependencies.
Once enabled, update your AndroidManifest file to include the necessary permissions, activity, and content provider: