2016-10-28 3 views
1

저는 Lexus 16.04 우분투에서 작업 중이며 Nexus 5를 사용 중입니다.android lunch combo에 Nexus 5에 대한 aosp_hammerhead가 없습니다.

나는 공식 안드로이드 웹 사이트의 단계를 따랐다.

Nexus 5는 https://developers.google.com/android/drivers을 참조하십시오.

최신 Android 버전을 사용하고 싶기 때문에 Android 6.0.1 (M4B30X) 용 Nexus 5 (GSM/LTE) 바이너리를 선택했습니다.

나는 점심

[email protected]:~/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? 

[email protected]:~/OpenSource/Android$ vi build/core/product_config.mk [email protected]:~/OpenSource/Android$ git branch fatal: Not a git repository (or any of the parent directories): .git [email protected]:~/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? 

그래서, 내가 넥서스 5에서 작동하고 최신 버전을 얻을 수에 적합하다 점심 콤보?

아니면 내가 틀린 repo 매니페스트를 가지고 있습니까? 그렇다면 변경 방법.

전에 아래 단계를 따르십시오. https://source.android.com/source/building.html

하지만 https://source.android.com/source/running.html 내 넥서스 5 aosp_hammerhead 관련이 있다고한다.

은 내가 REPO 클라이언트 아래와 같이 초기화 : 체크 아웃 어떤 지점

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

stackexchange (http://android.stackexchange.com/)의 다른 웹 사이트에이 질문을하는 것이 더 좋은 방법이라고 생각합니다. 프로그래밍과는 아무 관계가 없기 때문에 여기에서 주제가 아닙니다. – 0xDEADC0DE

+0

알았어요. @ 0xDEADC0DE –

답변

1

옵션 점심 당신을 줄 것이다 결정합니다. 예를 들어

,

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

당신에게 넥서스를 지원하는 안드로이드 6.0.1에 대한 분기를 얻을 것이다 5

내가 점심 식사 후 나에게 망치를위한 옵션을 제공합니다 것을 실행

$ 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