|---------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| 1 2 3 4 | Jack server already installed in ``"/home/user/.jack-server"
Communication error with Jack server (``1``), ``try
'jack-diagnose'
or see Jack server log
Communication error with Jack server ``1``. Try ``'jack-diagnose'
Communication error with Jack server ``1``. Try ``'jack-diagnose'
|
FAILED: setup-jack-server
Jack server already installed in "/home/server/.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'
3. 解决方法
服务器安装的是openjdk8,输入以下命令:
sudo vim /etc/java-8-openjdk/security/java.security
大概在704行,删除:TLSv1, TLSv1.1
修改后:
jdk.tls.disabledAlgorithms=SSLv3, RC4, DES, MD5withRSA, \
DH keySize < ``1024``, EC keySize < ``224``, 3DES_EDE_CBC, anon, NULL, \
include jdk.disabled.namedCurves
编译前输入:
export LC_ALL=C
cd ./prebuilts/sdk/tools/ 目录下执行
./jack-admin kill-server && ./jack-admin start-server
成功
=============================其他问题
android8.1编译错误flex-2.5.39: loadlocale.c:130:_nl_intern_locale_data:
解决方法:
1.在~/.bashrc最后添加export LC_ALL=C
2.执行source ~/.bashrc
3.重新编译即可