新装Android Studio Arctic Fox报licences问题

今天安装Android Studio Arctic Fox后来看一下compose,没想到新建个 Empty Compose Activity后,build就报如下错误了:
Failed to install the following Android SDK packages as some licences have not been accepted. To build this project, accept the SDK license agreements and install the missing components using the Android Studio SDK Manager.
Android Sdk目录下tools/bin执行cmd命令 ,
再次执行命令 : sdkmanager.bat --licenses
更新 license 文件,执行过程需要多次确认
根据提示,输入几次y,几次回车。

回到android studio再次build错误修复。

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