接连安装完 Android Studio、Gradle 、 Android SDK 之后,运行cordova run android报错:
You have not accepted the license agreements of the following SDK components: [Android SDK Platform 27]. Before building your project, you need to accept the license agreements and complete the installation of the missing components using the Android Studio SDK Manager.
解决方法: 进入到ANDROID_HOME\tools\bin目录下,cmd运行 ./sdkmanager.bat --licenses ,之后会弹出很多选项,均输入 y 确认即可
欢迎关注、点赞