搜索

183

主题

278

帖子

1931

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
1931
发表于 2021-4-26 09:25:27 843 浏览 2 回复

MTK编译:SSL error when connecting to the Jack server. Try 'jack-diagnose'

MTK平台编译报错:
  1. FAILED: /bin/bash -c "(prebuilts/sdk/tools/jack-admin install-server prebuilts/sdk/tools/jack-launcher.jar prebuilts/sdk/tools/jack-server-4.8.ALPHA.jar  2>&1 || (exit 0) ) && (JACK_SERVER_VM_ARGUMENTS="-Dfile.encoding=UTF-8 -XX:+TieredCompilation" prebuilts/sdk/tools/jack-admin start-server 2>&1 || exit 0 ) && (prebuilts/sdk/tools/jack-admin update server prebuilts/sdk/tools/jack-server-4.8.ALPHA.jar 4.8.ALPHA 2>&1 || exit 0 ) && (prebuilts/sdk/tools/jack-admin update jack prebuilts/sdk/tools/jacks/jack-2.28.RELEASE.jar 2.28.RELEASE || exit 47; prebuilts/sdk/tools/jack-admin update jack prebuilts/sdk/tools/jacks/jack-3.36.CANDIDATE.jar 3.36.CANDIDATE || exit 47; prebuilts/sdk/tools/jack-admin update jack prebuilts/sdk/tools/jacks/jack-4.7.BETA.jar 4.7.BETA || exit 47 )"
  2. Jack server already installed in "/home/aplid/.jack-server"
  3. Launching Jack server java -XX:MaxJavaStackTraceDepth=-1 -Djava.io.tmpdir=/tmp -Dfile.encoding=UTF-8 -XX:+TieredCompilation -cp /home/aplid/.jack-server/launcher.jar com.android.jack.launcher.ServerLauncher
  4. Jack server failed to (re)start, try 'jack-diagnose' or see Jack server log
  5. SSL error when connecting to the Jack server. Try 'jack-diagnose'
  6. SSL error when connecting to the Jack server. Try 'jack-diagnose'
复制代码
若没有几个账号同时在一台编译服务器上面编译的话,直接重启编译服务器看看是否会报错;



手机微信同号:13682654092
回复

使用道具 举报

0

主题

1

帖子

14

积分

新手上路

Rank: 1

积分
14
发表于 2021-6-4 14:16:54
//////////////////////openjdk-8 cause jack-server error

sudo apt remove openjdk-8-jre
sudo apt remove openjdk-8-jdk-headless
sudo apt install openjdk-8-jre=8u162-b12-1 openjdk-8-jre-headless=8u162-b12-1
sudo apt install openjdk-8-jdk-headless=8u162-b12-1
sudo apt-mark hold openjdk-8-jdk-headless
sudo apt-mark hold openjdk-8-jre
sudo apt-mark hold openjdk-8-jre-headless
回复

使用道具 举报

83

主题

86

帖子

485

积分

版主

Rank: 7Rank: 7Rank: 7

积分
485
发表于 2021-7-30 09:31:39
解决方法可以修改如下文件   /etc/java-8-openjdk/security/java.security
将文件中的  jdk.tls.disabledAlgorithms  项中的  TLSv1, TLSv1.1 删除然后,再重新关闭服务器在开机编译可以解决该问题
回复

使用道具 举报

返回列表
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则


登录或注册
快速回复 返回顶部 返回列表