Ubuntu18.04 编译 Android7.1代码报错

在搭建的Ubuntu18.04上编译Android7.1代码老实出错

"SSL error when connecting to the Jack server. Try 'jack-diagnose'"

修改/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/security/java.security文件, 删除掉TLSv1 和 TLSv1.1即可。

cd /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/security/java.security

// 修改后的结果

jdk.tls.disabledAlgorithms=SSLv3, RC4, DES, MD5withRSA, \

DH keySize < 1024, EC keySize < 224, 3DES_EDE_CBC, anon, NULL, \

include jdk.disabled.namedCurves

我是参考 以下博主的, 谢谢无私贡献。

Android Jack server failed to ,SSL error when connecting to the Jack server. Try 'jack-diagnose'-CSDN博客

相关推荐
booboosui3 小时前
删掉一个住在本机的 agent:8 处要清,顺序不能反
android
hcgeng3 小时前
Android获取崩溃日志
android
aqi003 小时前
AI编程让鸿蒙开发电子书APP更加快捷
android·华为·harmonyos·鸿蒙·harmony
GY-934 小时前
【Android】Android Studio 中的协程
android
Geek-Chow4 小时前
移动 App 侧载攻击:Android 与 iOS 的信任链、突破口与防护
android
Android小码家5 小时前
framework&framework-minus-apex&android.jar的区别
android·python·jar
技术风向解码者5 小时前
安卓跨端选型:为什么优先看 Kuikly
android
科小怪5 小时前
大肥鱼桌宠下载(2026最新版):在安卓桌面上养一条会走会弹会碎碎念的胖鱼
android
qq3621967055 小时前
安卓安装包完整性校验:怎么确认下载的 APK 没被动过手脚
android