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

在执行 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

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章