JACK错误 SSL error when connecting to the Jack server. Try 'jack-diagnose'

Posted goolinli

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了JACK错误 SSL error when connecting to the Jack server. Try 'jack-diagnose'相关的知识,希望对你有一定的参考价值。

编译android8.1的时候JACK报错

SSL error when connecting to the Jack server. Try \'jack-diagnose\'

运行jack-diagnose

提示端口被占用的信息

Port XXXX is used by another process (pid=), please ensure to free the port or change port configuration in XXX

端口占用就换个端口吧。

更改~/.jack-settings

 

SERVER_PORT_SERVICE=27755
SERVER_PORT_ADMIN=27765

同步更改~/.jack-server/config.properties

jack.server.service.port=27755
jack.server.admin.port=27765

更改config.properties的权限为600

 chmod 600  ~/.jack-server/config.properties

继续编译,依然是报这个错误。 重新更改端口,错误依旧,因此错误原因可能不是这个。 

编译/etc/java-8-openjdk/security/java.security 

找到TLSv1这行,把TLSv1, TLSv1.1,删除后保存

jdk.tls.disabledAlgorithms=SSLv3, TLSv1, TLSv1.1, RC4, DES, MD5withRSA, \\

切换到Android编译源码项目目录:prebuilts/sdk/tools/

运行:./jack-admin kill-server ./jack-admin start-server

之后重新编译。 错误解决。

 

以上是关于JACK错误 SSL error when connecting to the Jack server. Try 'jack-diagnose'的主要内容,如果未能解决你的问题,请参考以下文章

Jack server failed ,Try jack-diagnose,SSL error when connecting to the Jack server 8.1,7.0编译不过了报错(代码

lr使用linux Generator测试https莫名报 SSL protocol error when attempting to connect with host

连接到 Jack 服务器时出现错误“SSL 错误”重建 android 代码。尝试“千斤顶诊断”

解决:编译CM14.1 提示Jack “Out of memory error”错误

cURL 错误 60:SSL 证书问题,anche con cacert.pem

错误消息 Missing required dependencies, import error: Missing required dependencies ['numpy' ] when I tr