问题现像
android 编译产生如下的现像:
Jack server already installed in “/home/lbhuang/.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’
从log来看是Jack server出了问题
问题解决
查阅多种资料,亲试以下方法有效:
1.从/etc/java-8-openjdk/security/java.security file中删除TLSv1, TLSv1.1
2.依次运行cd /prebuilts/sdk/tools/、./jack-admin kill-server、./jack-admin start-server并查看结果
3.运行 export LC_ALL=C