Toybrick

标题: android编译 [打印本页]

作者: zhangsd20    时间: 2021-7-28 19:38
标题: android编译
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    时间: 2021-7-29 08:39
1. 删除 /home/airenao/.jack-serve
2. 修改jack-serve端口,https://blog.csdn.net/huplion/article/details/87949327
作者: zhangsd20    时间: 2021-7-29 19:55
你说的方法都试过了,还是报错
作者: jefferyzhang    时间: 2021-7-30 08:47
jack-admin kill-server
jack-admin uninstall-serve
作者: zhangsd20    时间: 2021-7-30 16:11
[ 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

错误变成上面这样了




欢迎光临 Toybrick (https://t.rock-chips.com/) Powered by Discuz! X3.3