![](/img/trans.png)
[英]Android accept the license agreements of SDK [Google Repository, Android Support Repository]
[英]Nativescript Accept Android SDK License
目前,我正在嘗試進入NativeScript。
然而,運行命令:
tns run android
給我以下錯誤信息:
You have not accepted the license agreements of the following SDK components: [Android SDK Build-Tools 25, Android SDK Platform 25]
我已經嘗試完全卸載Android SDK Build-Tools和SDK Platform,然后使用SDK Manager重新安裝它。 它不斷提示此錯誤。
誰能告訴我如何擺脫這種情況,或如何正確接受許可?
我正在使用Windows 10。
我有同樣的問題...但是我通過執行以下命令解決了它。
android update sdk --no-ui --filter build-tools-25.0.0,android-25,extra-android-m2repository
希望對大家有幫助
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.