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

前端 未结 17 1225
野性不改
野性不改 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:43

    I tried many solutions but didn't work for me. The below solution works for me.

    locate the sdkmanager file in android SDK.

    In my case : ~/Android/Sdk/tools/bin

    go to that path : cd ~/Android/Sdk/tools/bin

    Accept licenses manually : ./sdkmanager --licenses Enter Yes or y

提交回复
热议问题