You can get started with these steps to build the host tools on Debian and run a cuttlefish instance with them.
For installing the prebuilt packages instead, see the top-level README.
sudo apt install git libc6-dev libcap-dev libclang-dev libgbm-dev \
libgcc-14-dev libopus-dev libwayland-dev libxml2 make \
protobuf-compiler python3Bazel itself is managed by bazelisk;
tools/buildutils/installbazel.sh installs it. Alternatively, install
Bazel 8.5.1 from GitHub or
the apt repository.
cd base/cvd
bazel build //cuttlefish/package:cvdThe first build downloads and compiles all third-party dependencies and
takes a while. The resulting binary is bazel-bin/cuttlefish/package/cvd.
./bazel-bin/cuttlefish/package/cvd fetch \
--default_build=aosp-android-latest-release/aosp_cf_x86_64_only_phone-userdebug \
--target_directory=/tmp/cfThis downloads the device images and matching host tools from ci.android.com.
./bazel-bin/cuttlefish/package/cvd create \
--host_path=/tmp/cf --product_path=/tmp/cf--host_path and --product_path point at the fetched host tools and
device images respectively. Once booted, connect with adb connect localhost:6520 or open https://localhost:8443 to interact with the
device over WebRTC.
- Developing
cvd: running tests, generatingcompile_commands.json. - Host tools migration notes.
tools/buildutils/build_packages.shbuilds the Debian packages, which are what we release;base/debian/controlis the source of truth for their dependencies.