Firefly开源社区

打印 上一主题 下一主题

[Android] ubuntu18.04编译rk3399-firefly版本遇到javk-server问题

98

积分

0

威望

0

贡献

技术小白

积分
98

ubuntu18.04编译rk3399-firefly版本遇到javk-server问题

发表于 2021-5-18 10:21:19      浏览:11011 | 回复:2        打印      只看该作者   [复制链接] 楼主
jdk环境检查:
root@a:/home/a# java -version
openjdk version "1.8.0_292"
OpenJDK Runtime Environment (build 1.8.0_292-8u292-b10-0ubuntu1~18.04-b10)
OpenJDK 64-Bit Server VM (build 25.292-b10, mixed mode)
root@a:/home/a# javac -version
javac 1.8.0_292


编译报错:
FAILED: /bin/bash -c "(prebuilts/sdk/tools/jack-admin install-server prebuilts/sdk/tools/jack-launcher.jar prebuilts/sdk/tools/jack-server-4.8.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.8.ALPHA.jar 4.8.ALPHA 2>&1 || exit 0 ) && (prebuilts/sdk/tools/jack-admin update jack prebuilts/sdk/tools/jacks/jack-2.28.RELEASE.jar 2.28.RELEASE || exit 47; prebuilts/sdk/tools/jack-admin update jack prebuilts/sdk/tools/jacks/jack-3.36.CANDIDATE.jar 3.36.CANDIDATE || exit 47; prebuilts/sdk/tools/jack-admin update jack prebuilts/sdk/tools/jacks/jack-4.7.BETA.jar 4.7.BETA || exit 47 )"
Jack server already installed in "/root/.jack-server"
Communication error with Jack server (35), 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.

jack-server-log:
22:09:54.990: INFO: com.android.jack.server.JackHttpServer: Loading config of jack server version: 1.3-a11 '1.3' (402300 704631c4e9bbfb4e8b052365140f79974b9f4cf4 by android-jack-team@google.com)
22:09:55.022: INFO: com.android.jack.server.JackHttpServer: Starting service connection server on /127.0.0.1:8176
22:09:55.034: INFO: com.android.jack.server.JackHttpServer: Starting admin connection on /127.0.0.1:8177
22:09:55.360: INFO: com.android.jack.server.JackHttpServer: Start timer
22:12:55.363: INFO: com.android.jack.server.JackHttpServer: Server mode changing from WAIT to IDLE

目前状态:
在百度上找了多种解决方案未果,请有经验的兄弟指导

回复

使用道具 举报

98

积分

0

威望

0

贡献

技术小白

积分
98
发表于 2021-5-18 12:19:41        只看该作者  沙发
root@a:~/code/Android7.1industry/rk3399-firefly-industry-71-20190926/prebuilts/sdk/tools# ./jack-admin start-server
Communication error with Jack server (35), try 'jack-diagnose' or see Jack server log
回复

使用道具 举报

3750

积分

17

威望

18

贡献

官方团队

Rank: 9Rank: 9Rank: 9

积分
3750
发表于 2021-5-18 16:45:37        只看该作者  板凳
清913940909 发表于 2021-5-18 12:19
root@a:~/code/Android7.1industry/rk3399-firefly-industry-71-20190926/prebuilts/sdk/tools# ./jack-adm ...

请参考如下帖子
https://dev.t-firefly.com/forum. ... mp;page=1#pid262667
回复

使用道具 举报

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

本版积分规则

友情链接 : 爱板网 电子发烧友论坛 云汉电子社区 粤ICP备14022046号-2
快速回复 返回顶部 返回列表