docker root用户下编译源码,USER: unbound variable 错误 原因:由于docker没有设置USER环境变量导致 解决方法: export USER=$(whoami) 编译过程中Jack server SSL error 错误 原因:编译时用的是open-jdk 8u292,默认禁用了TLSv1, TLSv1.1 解决方法:从/etc/java-8-openjdk/security/java.security中取消TLSv1, TLSv1.1 禁用,aosp/prebuilts/sdk/tools/ 目录下执行./jack-admin kill-server && ./jack-admin start-server 成功。 修改/etc/java-8-openjdk/security/java.security如下: jdk.tls.disabledAlgorithms=SSLv3, RC4, DES, MD5withRSA, \ DH keySize < 1024, EC keySize < 224, 3DES_EDE_CBC, anon, NULL, \ include jdk.disabled.namedCurves |
|小黑屋| 飞凌嵌入式 ( 冀ICP备12004394号-1 )
GMT+8, 2024-11-23 08:15
Powered by Discuz! X3.4
© 2001-2013 Comsenz Inc.