Accept Android licenses with sdkmanager
.
The following exception will be thrown when an SDK component cannot be installed if the licence was not accepted.
com.android.builder.sdk.LicenceNotAcceptedException: Failed to install the following Android SDK packages as some licences have not been accepted.
See action.yml
steps:
- uses: SimonMarquis/android-accept-licenses@v1