Jenkins 打包出现You have not accepted the license agreements of the following SDK components: 错误的解决办法
来源:互联网 发布:矩阵奖金制度 编辑:程序博客网 时间:2024/06/03 04:56
打包报错了,如下:
* What went wrong:A problem occurred configuring project ':app'.> You have not accepted the license agreements of the following SDK components: [ConstraintLayout for Android 1.0.2, Solver for ConstraintLayout 1.0.2].
jenkins部署在一个内网服务器上。ssh登录看了一下$ANDROID_SDK//extras/m2repository/com/android/support/constraint/constraint-layout
目录,果然没有1.0.2版本。
于是,我决定更新一下服务器的sdk.
android list sdk --proxy-host mirrors.zzu.edu.cn --proxy-port 80 -s --allandroid update sdk --no-ui --filter 180 --proxy-host mirrors.zzu.edu.cn --proxy-port 80 -s --all
不行,发现没有ConstraintLayout-1.0.2。之前使用过的一些景象。
查了一些资料,发现了个新的sdk管理工具sdkmanager.位于$ANDROID_HOME/tools/bin/sdkmanager
sdkmanager --listsdkmanager "extras;m2repository;com;android;support;constraint;constraint-layout;1.0.2"
阅读全文
0 0
- Jenkins 打包出现You have not accepted the license agreements of the following SDK components: 错误的解决办法
- 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
- 编译ionic时出错: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
- You haven't accepted the license agreements of the following SDK components:
- ionic开发——编译出错:You have not accepted the license agreements of the following SDK component
- A problem occurred configuring project ':AndroidLib'. > You have not accepted the license agreements
- Mac 终端提示You have not agreed to the Xcode license agreements
- you must have accepted the latest version of the IOS Developer Program Agreement
- centos7安装出现license information(license not accepted)解决办法
- centos7安装出现license information(license not accepted)解决办法
- centos7安装出现license information(license not accepted)解决办法
- linux centos7 安装出现 license information(license not accepted)解决办法
- centos安装出现license information(license not accepted)解决办法
- centos7安装出现license information(license not accepted)解决办法
- centos7安装出现license information(license not accepted)解决办法
- centos7安装出现license information(license not accepted)解决办法
- tast_struct结构体
- 情感计算是人机交互核心?谈深度学习在情感分析中的应用
- markdown中实现首行缩进的两种方法
- Pipeline Scheduling UVA
- QT设置centralWidget布局
- Jenkins 打包出现You have not accepted the license agreements of the following SDK components: 错误的解决办法
- 谷歌和百度轨迹的详解
- Win32字符串处理函数
- java poi导出excel是文件名字符转译问题
- Android学习 ——SystemUIService之RingtonePlayer分析
- ERROR 1366 (HY000): Incorrect string value: '\xD6\xD0\xCE\xC4' for column XXX at row 1
- windows远程连接服务器中的jupyter notebook
- CentOS6.8 操作防火墙
- Hadoop运维配置