Installation FAQ

I see this error when making Android build - "Failed to install the following Android SDK packages as some licences have not been accepted.". How to resolve this?

This happens because of not accepting licenses when installing the sdk. Let me get you the steps to accept the license. On Windows

C:\Users\xxx\AppData\Local\Android\Sdk\tools\bin\sdkmanager --licenses

or

PATH-TO-UNITY-ANDROID-SDK\tools\bin\sdkmanager --licenses

On Mac

cd /Users/YOUR_MAC_USER/Library/Android/sdk/tools/bin ./sdkmanager --licenses

or

/Applications/Unity/Hub/Editor/UNITY_VERSION/PlaybackEngines/AndroidPlayer/SDK/tools/bin/sdkmanager --licenses

Press 'y' to accept the licenses.