ionic开发——编译出错:You have not accepted the license agreements of the following SDK component
来源:互联网 发布:透视的屏幕软件 编辑:程序博客网 时间:2024/06/06 05:05
今天在执行ionic cordova build android --prod的时候,报了下了的错误:
* 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 --debugoption to get more log output.
这个错误很好解决,主要我们就看我们缺少什么就行了,我们缺少android SDK Platform 25,这里缺少什么我们就下载什么就好了
我们打开android sdk manager.exe后把相应缺少的包(我这里就是Android SDK Platform 25相关的工具)安装完成,然后再运行就能解决问题。
但是国内下载这些包呢,速度有点慢,一般我们都选择用镜像来下载,国内的镜像站地址有很多,我用的是:
大连东软信息学院镜像服务器地址:mirrors.neusoft.edu.cn
端口:80
(大东软太棒了!!!)
其他的大家可以参考:http://www.androiddevtools.cn/点击打开链接
这个地址里面有具体的使用方法
阅读全文
0 0
- ionic开发——编译出错:You have not accepted the license agreements of the following SDK component
- 编译ionic时出错:You have not accepted the license agreements of the following SDK components
- gradle build提示You have not accepted the license agreements of the following SDK components
- You have not accepted the license agreements of the following SDK components的解决方案
- You have not accepted the license agreements of the following SDK components: XXX
- Jenkins 打包出现You have not accepted the license agreements of the following SDK components: 错误的解决办法
- You haven't accepted the license agreements of the following SDK components:
- A problem occurred configuring project ':AndroidLib'. > You have not accepted the license agreements
- Mac 终端提示You have not agreed to the Xcode license agreements
- The following SDK component was not installed: extra-google-m2repository
- you must have accepted the latest version of the IOS Developer Program Agreement
- The following SDK component was not installed: build-tools-21.1.1
- 解决 android studio The following SDK component was not installed: build-tools-21.1.1
- 安装androidstudio时报错the following sdk component was not installed:build-boots21.1.1
- Saving changes is not permitted. The changes that you have made require the following tables to be d
- MSSQL 2008 Saving changes is not permitted. THe changes you have made require the following table to
- 165.You have an ORDERS table with the following structure:
- 053-14 You have a very large table that your users access frequently. Which of the following advisor
- QT webkit 各个类之间关系--QWebView-QWebPag
- ScrollView中listview把布局顶上去的问题
- final关键字与内联函数
- fastjson list转JSONArray
- SPI FLASH 容量计算
- ionic开发——编译出错:You have not accepted the license agreements of the following SDK component
- 为什么上层社会越来越富的真相,原因居然是...
- MAC 下git diff出现 ^M
- 深度强化学习中的NAF算法-连续控制(对DQN的改进)
- 安装openssl-0.9.8报错out range of signed 32bit displacement
- 新款kubernetes日志收集利器fluent bit
- iOS之CocoaPods常见问题汇总
- 友元关系
- 移动端界面的适配