Skip to content
check-circle

GitHub Action

Android accept licenses

v1 Latest version

Android accept licenses

check-circle

Android accept licenses

Accept Android licenses with sdkmanager

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Android accept licenses

uses: SimonMarquis/android-accept-licenses@v1

Learn more about this action in SimonMarquis/android-accept-licenses

Choose a version

🤖 Android accept licenses

Accept Android licenses with sdkmanager.

Rationale

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.

Usage

See action.yml

steps:
  - uses: SimonMarquis/android-accept-licenses@v1