新裝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錯誤修復。

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