Using in Native Android Projects (UaaL)
Quick overview on how to use in native android projects with unity as a library (UaaL)
Complete Setup
Open Unity Player Settings
Go to Publishing Settings
Enable Main Gradle Template
Enable Main Android Manifest and open from Assets/Plugins/Android folder
Add service tag (between existing <application> </application> tag as stated in File Setup : AndroidManifest.xml
Open settings.gradle of your root native project and add lines fromFile Setup : settings.gradle at the end of the file after you include unityLibrary project directory.
External Dependency Manager Setup (Optional)
Open Assets -> External Dependency Manager -> Android -> Settings
Open Assets -> External Dependency Manager -> Android -> Force Resolve
File Setup : AndroidManifest.xml
Setting up the Android Manifest is a must as Unity runs in a different process (UnityPlayer) so for recording service to work we need to set this attribute
File Setup : settings.gradle
Last updated
Was this helpful?