Gradle generates the Android App Manifest for your application during the build process. You can override this Android App Manifest with your own content in one of the following ways:
To have some control over the format and contents of the Android App Manifest file, override the default Unity Library Manifest file with a custom template. To do this:
Go to Edit > Project Settings to open the Project Settings window.
Select the Player tab, then open Android Player Settings:
In the Publishing Settings section, enable Custom Main Manifest. This creates an Android App Manifest file and displays the path to the file. For information on the format of the Android App Manifest and the settings it configures, see the Android Developer documentation on Android App Manifests.
Gradle merges the manifests from your Android libraries into this main manifest and makes sure that the final configuration is correct.
To have full control over the Android App Manifest file, export your Unity project and edit the Android App Manifest in Android Studio. For more information, see Exporting an Android Project.