这是我第一次通过cordova制作网络应用程序。问题是当我尝试在android上运行它时出现以下错误。我相信我已经安装并更新了最新的android SDK,并且应该在安装更新之前同意许可。我已经google了一个明确的解决方案,但找不到一个简单的解决方案。我应该采取什么程序和步骤来解决这个问题?我很乐意听到一些关于像我这样的假人的简单明确提示!我很乐意听取您的意见。
* What went wrong:
A problem occurred configuring root project 'android'.
> You have not accepted the license agreements of the following SDK components:
[Android SDK Platform 25].
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.
Alternatively, to learn how to transfer the license agreements from one workstation to another, go to http://d.android.com/r/studio-ui/export-licenses.html
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
答案 0 :(得分:0)
如果您通过Android工作室中的SDK管理器安装Android SDK,则会提示您接受许可协议。在你这样做之后,你应该能够准备和运行你的项目。