Based on Ubuntu 20.04.6 LTS
- i5 above CPU
- 16GB above RAM
- 300GB SSD or HDD
- High speed internet access
- Do not try build AOSP on your free GitHub Codespaces account
Create a build environment
mkdir android-x86
cd android-x86
[path]/install_build_env.sh
./install_gcloud_cli.sh
gcloud projects list
gcloud config set project [you_project_id]
./create-gcp-instance.sh [your_instance]
gcloud compute scp ./install_build_env.sh [your_login_id]@[your_instance]:~/
gcloud compute ssh [your_login_id]@[your_instance]
If you use
create-gcp-ubuntu-2004-lts.sh
to create an instance, please monitor your GCP regularly or delete the instance when you don't need it anymore.