ubuntu18.04编译rk3399-firefly版本遇到javk-server问题
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.jar2>&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
目前状态:
在百度上找了多种解决方案未果,请有经验的兄弟指导
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 清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.php?mod=viewthread&tid=103495&page=1#pid262667
页:
[1]