Android午餐组合没有针对Nexus 5的aosp_hammerhead

时间:2016-10-28 12:07:26

标签: android repo

我正在使用Ubuntu 16.04 LTS并与我一起使用Nexus 5.

我按照官方Android网站的步骤进行操作。

对于Nexus 5,我引用了https://developers.google.com/android/drivers

我想获得最新的Android版本,所以我为Android 6.0.1(M4B30X)选择了Nexus 5(GSM / LTE)二进制文件。

当我吃午饭时

gongzelong@gongzelong:~/OpenSource/Android$ lunch

You're building on Linux

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_mips64-eng
     12. m_e_mips-userdebug
     13. mini_emulator_x86_64-userdebug
     14. mini_emulator_x86-userdebug
     15. aosp_dragon-userdebug
     16. aosp_dragon-eng
     17. aosp_flounder-userdebug
     18. aosp_angler-userdebug
     19. aosp_bullhead-userdebug
     20. hikey-userdebug
     21. aosp_shamu-userdebug

Which would you like? [aosp_arm-eng] aosp_hammerhead-userdebug build/core/product_config.mk:238: *** Can not locate config makefile for product "aosp_hammerhead".  Stop.

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

gongzelong@gongzelong:~/OpenSource/Android$ vi build/core/product_config.mk gongzelong@gongzelong:~/OpenSource/Android$ git branch fatal: Not a git repository (or any of the parent directories): .git gongzelong@gongzelong:~/OpenSource/Android$ lunch aosp_hammerhead-userdebug build/core/product_config.mk:238: *** Can not locate config makefile for product "aosp_hammerhead".  Stop.

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

那么,哪种午餐组合适合我使用Nexus 5并且可以获得最新版本?

或者,我得到了错误的回购清单吗?如果是,请如何更改。

在我按照下面显示的步骤之前。 https://source.android.com/source/building.html

但是https://source.android.com/source/running.html 据说我的Nexus 5与aosp_hammerhead有关。

我初始化一个如下的repo客户端:

repo init -u https://android.googlesource.com/platform/manifest
repo sync 

1 个答案:

答案 0 :(得分:3)

您检查的分支决定了午餐会给您的选择。

例如,

$ lunch

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. aosp_deb-userdebug
     8. aosp_flo-userdebug
     9. full_fugu-userdebug
     10. aosp_fugu-userdebug
     11. mini_emulator_arm64-userdebug
     12. m_e_arm-userdebug
     13. mini_emulator_mips-userdebug
     14. mini_emulator_x86-userdebug
     15. mini_emulator_x86_64-userdebug
     16. aosp_flounder-userdebug
     17. aosp_angler-userdebug
     18. aosp_bullhead-userdebug
     19. aosp_hammerhead-userdebug
     20. aosp_hammerhead_fp-userdebug
     21. aosp_shamu-userdebug

将为您提供支持nexus 5的Android 6.0.1分支。

当我运行时,午餐然后给了我锤头的选项:

{{1}}