-
Notifications
You must be signed in to change notification settings - Fork 166
Description
Hello. I was trying to build the Jazzer for Android. But seems that the build mechanism is broken.
Following this manual.
Building for android
Source code HEAD
commit 50a0e8f (HEAD -> main, origin/main, origin/HEAD)
Author: Marcono1234 Marcono1234@users.noreply.github.com
Date: Thu Mar 5 22:46:51 2026 +0100chore: simplify test Javadoc
~/Documents/Code/jazzer$ bazel build //launcher/android:jazzer_android Starting local Bazel server (8.4.2) and connecting to it... DEBUG: Rule 'rules_android++com_android_dex_extension+com_android_dex' indicated that a canonical reproducible form can be obtained by modifying arguments integrity = "sha256-Vgjg5GNZ6kUcyEcYBuMvIg8s9sSu8wgS0x7IFReKH6Y=" DEBUG: Repository rules_android++com_android_dex_extension+com_android_dex instantiated at: <builtin>: in <toplevel> Repository rule http_archive defined at: /home/i_nakonechnyy/.cache/bazel/_bazel_i_nakonechnyy/cbe449c084139e9db0a7c9ac4d418367/external/bazel_tools/tools/build_defs/repo/http.bzl:431:31: in <toplevel> ERROR: /home/i_nakonechnyy/.cache/bazel/_bazel_i_nakonechnyy/cbe449c084139e9db0a7c9ac4d418367/external/rules_cc+/cc/BUILD:145:19: in cc_toolchain_alias rule @@rules_cc+//cc:current_cc_toolchain: Traceback (most recent call last): File "/virtual_builtins_bzl/common/cc/cc_toolchain_alias.bzl", line 26, column 48, in _impl File "/virtual_builtins_bzl/common/cc/cc_helper.bzl", line 165, column 13, in _find_cpp_toolchain Error in fail: Unable to find a CC toolchain using toolchain resolution. Target: @@rules_cc+//cc:current_cc_toolchain, Platform: @@//:android_arm64, Exec platform: @@bazel_tools//tools:host_platform ERROR: /home/i_nakonechnyy/.cache/bazel/_bazel_i_nakonechnyy/cbe449c084139e9db0a7c9ac4d418367/external/rules_cc+/cc/BUILD:145:19: Analysis of target '@@rules_cc+//cc:current_cc_toolchain' (config: 98134d3) failed ERROR: Analysis of target '//launcher/android:jazzer_android' failed; build aborted: Analysis failed INFO: Elapsed time: 248.260s, Critical Path: 0.04s INFO: 1 process: 1 internal. ERROR: Build did NOT complete successfully XXXX:~/Documents/Code/jazzer$ echo $ANDROID_ $ANDROID_HOME $ANDROID_NDK_HOME XXXX:~/Documents/Code/jazzer$ echo $ANDROID_HOME /home/i_nakonechnyy/Documents/Utils/Android-sdk XXXX:~/Documents/Code/jazzer$ echo $ANDROID_NDK_HOME /home/i_nakonechnyy/Documents/Utils/Android-sdk/ndk/25.2.9519653