gpt4 book ai didi

java - openJdk 升级到 8u292 会破坏我的 aosp 构建系统吗?

转载 作者:行者123 更新时间:2023-12-03 18:42:56 41 4
gpt4 key购买 nike

软件环境:

  • Ubuntu 20.04 LTS 服务器;
  • 安卓 AOSP 8.0;
  • 开放JDK 8;

  • 它工作得很好,昨天我将我的 OpenJDK 从 8u282 升级到了 8u292。现在损坏的建筑日志说:
    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 "~/.jack-server"
    Launching Jack server java -XX:MaxJavaStackTraceDepth=-1 -Djava.io.tmpdir=/tmp -Dfile.encoding=UTF-8 -XX:+TieredCompilation -cp ~/.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.
    10:11:50 ninja failed with: exit status 1
    我检查了 ~/.jack-server/log/xxxx-0-0.log 中的日志。它与错误无关。
    我用 curl命令连接到服务器,它说:
    $ curl https://127.0.0.1:8076/jack
    curl: (35) OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to 127.0.0.1:8076
    我更改了 prebuilts/sdk/tools/jack-admin 中的脚本以打印 $CURL_CODE,与我的 shell curl 命令相同,报告错误代码 35。
    这个 url 讨论了 samliar 问题:
    https://forums.gentoo.org/viewtopic-t-1060536-start-0.html
    但我不确定。
    这是提示上述错误的源脚本链接:
    https://android-opengrok.bangnimang.net/android-8.1.0_r81/xref/prebuilts/sdk/tools/jack-admin?r=692a2a62#89

    最佳答案

    我有同样的问题,通过在文件/etc/java-8-openjdk/security/java.security 中删除 jdk.tls.disabledAlgorithms 配置中的“TLSv1,TLSv1.1”来解决这个问题。

    关于java - openJdk 升级到 8u292 会破坏我的 aosp 构建系统吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/67330554/

    41 4 0
    Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
    广告合作:1813099741@qq.com 6ren.com