在执行 ionic cordova build android 时,出现 Failed to install the following Android SDK packages as some licences have not been accept的错误

ionic Failed to install the following Android SDK packages as some licences have not been accept

解决方案:

以管理员身份运行cmd,进入Android\Sdk\tools\bin目录,然后执行命令 sdkmanager --licenses,接下来所有的(y/N)选项全部选择y

 

ionic Failed to install the following Android SDK packages as some licences have not been accept

相关文章: