If you need more control over the build pipeline, you can export a Unity project as a GradleAn Android build system that automates several build processes. This automation means that many common build errors are less likely to occur. More info
See in Glossary project and import that into Android Studio. This is useful if you want more control over the build pipeline, want to see or modify the Android App Manifest that Unity generates for your application, or integrate Unity-powered features into another Android application.
To export a Unity project for Android Studio:
After Unity exports the Gradle project, you can import the Gradle project into Android Studio. For information on how to do this, refer to Migrate to Android Studio. For information on the file structure of the exported Gradle project, refer to Gradle project structure.