在执行 ionic cordova build android 时,出现 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 cordova build android 时,出现 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
相关文章: