3

VMware+ Ubantu20+ Cuttlefish 模拟运行最新的 Android12

 1 year ago
source link: https://www.v2ex.com/t/860603
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

V2EX  ›  Android

VMware+ Ubantu20+ Cuttlefish 模拟运行最新的 Android12

  FranzKafka95 · 4 小时 33 分钟前 via Android · 953 次点击
目前中文搜索关于 Cuttlefish 的资料与信息比较少,一份切实的搭建教程根本没有,官方文档又是坑爹,最近恰好折腾了一下,把踩的坑列了出来,主要包括以下内容:
1.虚拟机务必开启虚拟化 Intel VT-x ,使其支持 kvm
2.不要通过 apt 安装 golang ,请务必手动安装,apt 源内的 golang 版本过于老旧
3.使用 dpkg 安装时采用以下方式安装,官方教程里的步骤无法安装成功:
dpkg -i ../cuttlefish-base_*_*64.deb
dpkg -i ../cuttlefish-user_*_*64.deb
dpkg -i ../cuttlefish-common_*_*64.deb
4.全程尽量使用 root 用户操作,如在启动 Cuttlefish 实例中提示权限问题,使用
sudo usermod -aG kvm,cvdnetwork,render root 将相关 module 加入 root 组
启动成功会有 Virtual device booted sucsuccess fully 提示。

5.使用./bin/adb -e shell 进去 adb 调试模式

顺便吐个槽,官方仓库居然没有开 issue ,这不太合理😣

详细内容可以参考博客:https://coderfan.net/vmware-ubantu20-cuttlefish-run-android12.html

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK