“Failed to install the following Android SDK packages as some licences have not been accepted” error

前端 未结 17 1224
野性不改
野性不改 2020-12-02 08:08

I am getting this error in jitpack, I\'ve tried everything on the internet. Below is my error

Failed to install the following Android SDK packages as some l         


        
17条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-02 08:39

    To add to the answers, you can also change to the sdkmanager directory and in a sub shell and accept the licenses there

    (
        cd /home/user/android-sdk-linux/tools/bin
        yes | ./sdkmanager --licenses
    )
    

提交回复
热议问题