gpt4 book ai didi

android - AOSP Android在Mac上编译源码

转载 作者:行者123 更新时间:2023-11-29 02:41:48 32 4
gpt4 key购买 nike

根据安卓指南:
1. 下载仓库
2. repo 初始化
3. repo 同步
我在磁盘中得到了Android 7.1.1的源代码
午餐组合时出现问题

You're building on Darwin

Lunch menu... pick a combo:
1. aosp_arm-eng
2. aosp_arm64-eng
3. aosp_mips-eng
4. aosp_mips64-eng
5. aosp_x86-eng
6. aosp_x86_64-eng
7. full_fugu-userdebug
8. aosp_fugu-userdebug
9. mini_emulator_arm64-userdebug
10. m_e_arm-userdebug
11. m_e_mips-userdebug
12. m_e_mips64-eng
13. mini_emulator_x86-userdebug
14. mini_emulator_x86_64-userdebug
15. aosp_dragon-userdebug
16. aosp_dragon-eng
17. aosp_marlin-userdebug
18. aosp_sailfish-userdebug
19. aosp_flounder-userdebug
20. aosp_angler-userdebug
21. aosp_bullhead-userdebug
22. hikey-userdebug
23. aosp_shamu-userdebug

Which would you like? [aosp_arm-eng]
-bash: Saving: command not found
-bash: ...saving: command not found
-bash: ...completed.: command not found

** Don't have a product spec for: 'aosp_arm'
** Do you have the right repo manifest?

操作系统:10.11.6
jdk:1.8.0_101
Xcode:8.2.1

我不确定如何处理它。
感谢您的帮助。

最佳答案

每个午餐组合都在 device/company_name/device_name/device.mk 中定义了产品规范。例如 device/moto/shamu/device.mk 是为 Nexus 6 定义的。

** Don't have a product spec for: 'aosp_arm'

** Do you have the right repo manifest?

如错误所述,没有为“aosp_arm”定义产品规范

有关详细信息,请参阅 Adding a new Device

关于android - AOSP Android在Mac上编译源码,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43556874/

32 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com