wx_abraxa_eMYmW 发表于 2021-5-2 14:58:11

Android7.1 Industry编译报错SSL error when connecting to the Jack server

在ubuntu20上为Firefly-RK3399编译Android7.1 Industry,有关jack的错误总是不断出现。不停地通过jack-amin kill-server && make 推进,但是却快结束的时候卡在了recovery build img后面,反复报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'。
解决方法是查看open-jdk 版本,若为8u292,则留意TLSv1, TLSv1.1是否被禁用,从/etc/java-8-openjdk/security/java.security中移除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
```

wx_abraxa_eMYmW 发表于 2021-5-2 15:01:34

感谢google,stackoverflow,搞了1晚上
https://stackoverflow.com/questions/67330554/is-openjdk-upgrading-to-8u292-break-my-aosp-build-system
页: [1]
查看完整版本: Android7.1 Industry编译报错SSL error when connecting to the Jack server