Toybrick

标题: 关于编译时FAILED: setup-jack-server 失败是什么原因 [打印本页]

作者: wangjianlu    时间: 2021-6-9 15:22
标题: 关于编译时FAILED: setup-jack-server 失败是什么原因
我固件编译环境和源码都配置正确,也编译成功固件并在RK3399PROD开发板上进行测试,运行正常,编译环境编译固件也正常。由于我的办公电脑是安装的WINDOWS10和Ubutun18双系统(不是在WINDOWS上安装的虚拟机),在电脑开机是选择启动那个系统。由于作功能测试,有两三个月没有开Ubutun系统并编译RK3399PROD的固件,这几天由于需要重新编译固件,在编译的过程中报错,编译不成功。不知道什么原因。也根据网络上的建议进行端口修改,修改
作者: wangjianlu    时间: 2021-6-9 15:23
[ 85% 3914/4578] 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 )"
Jack server already installed in "/root/.jack-server"
Launching Jack server java -XX:MaxJavaStackTraceDepth=-1 -Djava.io.tmpdir=/tmp -Dfile.encoding=UTF-8 -XX:+TieredCompilation -cp /root/.jack-server/launcher.jar com.android.jack.launcher.ServerLauncher
Jack server failed to (re)start, try 'jack-diagnose' or see Jack server log
No Jack server running. Try 'jack-admin start-server'
No Jack server running. Try 'jack-admin start-server'
ninja: build stopped: subcommand failed.
15:02:55 ninja failed with: exit status 1

作者: wangjianlu    时间: 2021-6-9 15:27
原来固件编译成功并经过测试运行正常,两三个月没有启动Ubutun系统并编译固件,现项目需要重新编译固件出现上面报错,固件编译不成功。不知是什么原因导致的。根据网络建议方法修改端口,也没解决问题。




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