The following error message appears when compiling Android 7 8 code
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’
It is due to the updated version of JDK
https://java.com/en/download/help/release_changes.html
According to the JDK Release Highlights, we can find that this update disables TLSv1.0 and TLSv1.1 in jdk.tls.disabledAlgorithms
Solution:
sudo vim /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/security/java.security
Change to:
Restart the server or restart jack server to compile after the modification
Read More:
- [Solved] Android8.1 Compile Error: SSL error when connecting to the Jack server
- [Solved] SSM Project Error: Error during artifact deployment. See server log for details.
- OpenSSL: error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failur
- [Solved] Zabbix-server startup error: cannot start alert manager service: Cannot bind socket to “/var/run/zabbix/zabbix_server_alerter.sock”: [13] Permission denied.
- [Solved] SpringMVC Error: war exploded: Error during artifact deployment. See server log for details.
- [Solved] Android HTTPS request resource or interface error: server certificate
- Nacos Error: server is DOWN now, please try again later! [How to Solve]
- Huawei kafka Authentication error: Server not found in Kerberos database (7) – LOOKING_UP_SERVER
- [Solved] Git Clone Error: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version
- [Solved] Triton-inference-server Start Error: Internal – failed to load all models
- [Solved] CommandWithNoStdoutInvokationFailure Unable to start ADB server.
- [Solved] ArcGIS Error: Failed to create the site. One or more server machines could not be stopped
- [Solved] svn Error: E230001: Server SSL certificate verification failed: certificate issued
- [Solved] MySQL workbench Error: SSL connection error: SSL is required but the server doesn‘t support it.
- [Solved] error when starting dev server:Error: listen EACCES: permission denied 0.0.0.0:80 at Server.set
- [Solved] Mybatis Error: Establishing SSL connection without server‘s identity verification is not recommended.
- [Solved] Nacos Start Error: failed to req API:127.0.0.1:8848/nacos/v1/ns/service/list. code:503 msg: server is DOWN now
- [Solved] Error from server (InternalError): an error on the server (““) has prevented the request from suc
- How to Solve Error: could not read ok from ADB Server.failed to start daemon error: cannot connect to daemon
- [Solved] PostgreSQL Error: Could not connect to server: no such file or directory