Toybrick

android编译

zhangsd20

中级会员

积分
200
楼主
发表于 2021-7-28 19:38:09    查看: 5357|回复: 4 | [复制链接]    打印 | 只看该作者
Jack server already installed in "/home/airenao/.jack-server"Communication error with Jack server (60), try 'jack-diagnose' or see Jack server logFailed to authenticate Jack server certificate. Try 'jack-diagnose'Failed to authenticate Jack server certificate. Try 'jack-diagnose'[  2% 40/1802] target Java: core-oj (out/target/common/obj/JAVA_LIBRARIES/core-oj_intermediates/classes)ninja: build stopped: subcommand failed.10:27:27 ninja failed with: exit status

之前编译一直都买没有问题,中间隔了差不多一个月在做别的事情,忙完了接着做这个,突然旧编译报错了,尝试了网上说的方法,什么多人编译端口占用,
修改了都没有任何效果,这个怎么解决呀?
回复

使用道具 举报

jefferyzhang

版主

积分
13574
沙发
发表于 2021-7-29 08:39:21 | 只看该作者
1. 删除 /home/airenao/.jack-serve
2. 修改jack-serve端口,https://blog.csdn.net/huplion/article/details/87949327
回复

使用道具 举报

zhangsd20

中级会员

积分
200
板凳
 楼主| 发表于 2021-7-29 19:55:44 | 只看该作者
你说的方法都试过了,还是报错
回复

使用道具 举报

jefferyzhang

版主

积分
13574
地板
发表于 2021-7-30 08:47:06 | 只看该作者
jack-admin kill-server
jack-admin uninstall-serve
回复

使用道具 举报

zhangsd20

中级会员

积分
200
5#
 楼主| 发表于 2021-7-30 16:11:46 | 只看该作者
[ 76% 3907/5087] Ensuring Jack server is installed and started
FAILED: setup-jack-server
/bin/bash -c "(prebuilts/sdk/tools/jack-admin install-server prebuilts/sdk/tools/jack-launcher.jar prebuilts/sdk/tools/jack-server-4.11.ALPHA.jar  2>&1 || (exit 0) ) && (JACK_SERVER_VM_ARGUMENTS=\"-Dfile.encoding=UTF-8 -XX:+TieredCompilation\" prebuilts/sdk/tools/jack-admin start-server 2>&1 || exit 0 ) && (prebuilts/sdk/tools/jack-admin update server prebuilts/sdk/tools/jack-server-4.11.ALPHA.jar 4.11.ALPHA 2>&1 || exit 0 ) && (prebuilts/sdk/tools/jack-admin update jack prebuilts/sdk/tools/jacks/jack-4.32.CANDIDATE.jar 4.32.CANDIDATE || exit 47 )"
Installing jack server in "/home/zhang/.jack-server"

Warning:
The JKS keystore uses a proprietary format. It is recommended to migrate to PKCS12 which is an industry standard format using "keytool -importkeystore -srckeystore /home/zhang/.jack-server/server.jks -destkeystore /home/zhang/.jack-server/server.jks -deststoretype pkcs12".

Warning:
The JKS keystore uses a proprietary format. It is recommended to migrate to PKCS12 which is an industry standard format using "keytool -importkeystore -srckeystore /home/zhang/.jack-server/client.jks -destkeystore /home/zhang/.jack-server/client.jks -deststoretype pkcs12".
Launching Jack server java -XX:MaxJavaStackTraceDepth=-1 -Djava.io.tmpdir=/tmp -Dfile.encoding=UTF-8 -XX:+TieredCompilation -cp /home/zhang/.jack-server/launcher.jar com.android.jack.launcher.ServerLauncher
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'
ninja: build stopped: subcommand failed.
16:09:24 ninja failed with: exit status 1

错误变成上面这样了
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

产品中心 购买渠道 开源社区 Wiki教程 资料下载 关于Toybrick


快速回复 返回顶部 返回列表