react-native run-android报错的原因,license问题
錯誤消息:
What went wrong:
A problem occurred configuring project ‘:app’.
Failed to install the following Android SDK packages as some licences have not been accepted.
build-tools;28.0.3 Android SDK Build-Tools 28.0.3
platforms;android-28 Android SDK Platform 28
To build this project, accept the SDK license agreements and install the missing components using the Android Studio SDK Manager.
Alternatively, to transfer the license agreements from one workstation to another, see http://d.android.com/r/studio-ui/export-licenses.html
C:\Users\i042416\AppData\Local\Android\Sdk
執(zhí)行SDK目錄下的sdkmanager.bat接受license后問題解決:
要獲取更多Jerry的原創(chuàng)文章,請關(guān)注公眾號"汪子熙":
總結(jié)
以上是生活随笔為你收集整理的react-native run-android报错的原因,license问题的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 什么是人体电子秤(分别是什么意思)
- 下一篇: 什么是国产手机操作系统