Ubuntu 22.04 安装 Cuttlefish 模拟器
如果是国内网络环境,建议提前在
.bashrc中配置好http_proxy和https_proxy。
环境准备
1 | sudo apt install -y sudo libfdt-dev git devscripts config-package-dev debhelper-compat bridge-utils libarchive-tools golang curl |
构建
1 | cd android-cuttlefish |
如果构建时遇到网络问题,请尝试修改以下文件



安装
1 | apt install ./cuttlefish-base_*.deb |
启动
构建 AOSP 参考:Ubuntu 22.04 构建 Android 14
1 | cd ~/aosp/ |
访问
使用浏览器打开
1 | https://localhost:8443 |

模拟器启动后,支持在本机使用 adb 进行操作