Jitpack.io: Failed to install the following Android SDK packages as some licences have not been accepted.

Created on 19 Jan 2019  路  4Comments  路  Source: jitpack/jitpack.io

Thank you!

Most helpful comment

Please refer to this method to temporarily resolve your problem.
https://github.com/jitpack/jitpack.io/issues/3687#issuecomment-455885806

All 4 comments

Experiencing the same issue with Android SDK Build-Tools 28.0.3

> Failed to install the following Android SDK packages as some licences have not been accepted.
     build-tools;28.0.3 Android SDK Build-Tools 28.0.3
     platforms;android-28 Android SDK Platform 28
  To build this project, accept the SDK license agreements and install the missing components using the Android Studio SDK Manager.
  Alternatively, to transfer the license agreements from one workstation to another, see http://d.android.com/r/studio-ui/export-licenses.html

  Using Android SDK: /opt/android-sdk-linux

Please refer to this method to temporarily resolve your problem.
https://github.com/jitpack/jitpack.io/issues/3687#issuecomment-455885806

See here for an alternative solution: https://github.com/jitpack/jitpack.io/issues/3687#issuecomment-455901608

Hey!!!

Just open terminal or git bash and head over to your android studio directory.

For windows users:
cd C:\Users\{USERNAME}\AppData\Local\Android\Sdk\tools\bin

and then run this to accept unaccepted licenses.
sdkmanager.bat --licenses

and then just review and accept them by typing 'y' and hit enter till its done..

Reference:

https://www.youtube.com/watch?v=c7HmwiTtYPE&t=580s

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mattcg picture mattcg  路  4Comments

jitpack-io picture jitpack-io  路  4Comments

afollestad picture afollestad  路  5Comments

hnagrasona picture hnagrasona  路  7Comments

jitpack-io picture jitpack-io  路  5Comments