新装Android Studio Arctic Fox报lice

2021-10-13  本文已影响0人  waiwaaa

今天安装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错误修复。

上一篇 下一篇

猜你喜欢

热点阅读