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

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

    in Windows OS go to your sdkmanager path directory in cmd

    You can find your sdkmanager in C:\Users\USER\AppData\Local\Android\Sdk\tools\bin

    then execute the followwing command:

    sdkmanager --licenses

    after that it will ask to accept license agreement several times then accept all by just typing y on cmd

提交回复
热议问题