The prebuilt workstation container requires Google Cloud Workstations nested virtualization and persistent disk snapshots, so workflows outside Google Cloud Workstations use a standard AOSP source checkout on Linux. You can follow these instructions on a physical Ubuntu Linux workstation, an on-premises server, or a self-managed cloud VM (for example, on AWS, Azure, or Compute Engine) that supports KVM virtualization. Follow Set up for AOSP development (9.0 or later) and make sure your host machine meets the following requirements:
- 64-bit Ubuntu Linux
- At least 64 GB of RAM and at least 400 GB of free SSD disk space for a single target (250 GB source checkout plus 150 GB or more for build output; allow extra space when building multiple VM targets)
- KVM virtualization enabled on the CPU (
grep -cw 'vmx\|svm' /proc/cpuinforeturns a non-zero count) - Cuttlefish host packages installed. For more information, see Get started with Cuttlefish.
Next, download and compile your target. For more information, see Download, build, and run.
You can also configure Android Studio for Platform (ASfP) and explore open-source dual-VM Display Safety and CARLA demo scripts on your Linux host. For more information, see Set up an IDE for SDV development and Access GitHub repositories.