首页 > 解决方案 > bash: build.env/: 尝试在 PC/ARM64 上构建/运行 Cuttlefish 时没有此类文件或目录错误

问题描述

我正在尝试在 PC/ARM64 上构建/运行 Cuttlefish。这是我遵循的教程:

https://sites.google.com/junsun.net/how-to-run-cuttlefish/home

我被困在这里:

root@ziomario-Z390-AORUS-PRO:/media/ziomario/Elements/android-cuttlefish# repo init -u platform/manifest - Git at Google -b pie-gsi

Downloading Repo source from git-repo - Git at Google
remote: Counting objects: 8, done
remote: Finding sources: 100% (150/150)
remote: Total 150 (delta 70), reused 150 (delta 70)
Receiving objects: 100% (150/150), 139.35 KiB | 1.74 MiB/s, done.
Resolving deltas: 100% (70/70), completed with 14 local objects.
Downloading manifest from platform/manifest - Git at Google
remote: Sending approximately 105.06 MiB …
remote: Counting objects: 1145, done
remote: Finding sources: 100% (3/3)
remote: Total 87072 (delta 26102), reused 87072 (delta 26102)
Receiving objects: 100% (87072/87072), 105.06 MiB | 7.15 MiB/s, done.
Resolving deltas: 100% (26102/26102), done.

repo has been initialized in /media/ziomario/Elements/android-cuttlefish

root@ziomario-Z390-AORUS-PRO:/media/ziomario/Elements/android-cuttlefish# source build.env/
bash: build.env/: No such file or directory

有人可以给我一些建议来解决该错误并进一步了解本教程吗?谢谢。

标签: android-sourcevirtualizationrepoandroid-kernel

解决方案


https://sites.google.com/junsun.net/how-to-run-cuttlefish/home上的说明有印刷错误。应该使用 AOSP 构建命令:$ source build/envsetup.sh


推荐阅读