SSL error when connecting to the Jack server

Android 7.0 source code compilation jack-server cannot be started and compilation fails

Error content:

/bin/bash -c "(prebuilts/sdk/tools/jack-admin install-server prebuilts/sdk/tools/jack-launcher.jar prebuilts/sdk/tools/jack-server-4.11.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.11.ALPHA.jar 4.11.ALPHA 2>&1 || exit 0 ) && (prebuilts/sdk/tools/jack-admin update jack prebuilts/sdk/tools/jacks/jack-4.32.CANDIDATE.jar 4.32.CANDIDATE || exit 47 )"
Jack server already installed in "/home/system1/.jack-server"
Communication error with Jack server (35), 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'

The articles searched on Baidu all say that multi-user compilation is not supported and the port is modified, which is all nonsense. Even after changing it, it still doesn't work;

My modification plan is as follows:

cd /etc/java-8-openjdk/security/ to this directory;

sudo vim java.security (note that you need to use the root user to open and modify);

remove the two configurations "TLSv1, TLSv1.1";

After saving, restart the computer;

Recompile, perfect solution;

Guess you like

Origin blog.csdn.net/lan_yu_meng/article/details/116484960