|
发表于 2021-4-26 09:25:27
17945 浏览 2 回复
MTK编译:SSL error when connecting to the Jack server. Try 'jack-diagnose'
MTK平台编译报错:
- 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 )"
- Jack server already installed in "/home/aplid/.jack-server"
- 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
- Jack server failed to (re)start, try 'jack-diagnose' or see Jack server log
- SSL error when connecting to the Jack server. Try 'jack-diagnose'
- SSL error when connecting to the Jack server. Try 'jack-diagnose'
复制代码 若没有几个账号同时在一台编译服务器上面编译的话,直接重启编译服务器看看是否会报错;
|
|
手机微信同号:13682654092
|
|
|
|
|
|
发表于 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 |
|
|
|
|
|
|
|
解决方法可以修改如下文件 /etc/java-8-openjdk/security/java.security
将文件中的 jdk.tls.disabledAlgorithms 项中的 TLSv1, TLSv1.1 删除然后,再重新关闭服务器在开机编译可以解决该问题 |
|
|
|
|
|
|
登录或注册
|