When updating to bazel 6.x, the android_build CI job fails with the following error:
ERROR: /private/var/tmp/_bazel_runner/b225883c33850f3f191a570e7b70ec29/external/bazel_tools/tools/jdk/BUILD:29:19: While resolving toolchains for target @bazel_tools//tools/jdk:current_java_runtime: no matching toolchains found for types @bazel_tools//tools/jdk:runtime_toolchain_type