错误:找不到产品“ aosp_hydrogen”的配置makefile

时间:2018-11-15 09:11:25

标签: android-source

vamsi@vamsi:~/pie$ breakfast aosp_hydrogen-eng
including vendor/aosp/vendorsetup.sh
build/make/core/product_config.mk:234: error: Can not locate config makefile for product "aosp_hydrogen".
22:28:30 dumpvars failed with: exit status 1
Device hydrogen not found. Attempting to retrieve device repository from PixelExperience-Devices Github (http://github.com/PixelExperience-Devices).
Repository for hydrogen not found in the PixelExperience-Devices Github repository list.
If this is in error, you may need to manually add it to your .repo/local_manifests/pixel.xml
build/make/core/product_config.mk:234: error: Can not locate config makefile for product "aosp_hydrogen".
22:28:31 dumpvars failed with: exit status 1
build/make/core/product_config.mk:234: error: Can not locate config makefile for product "aosp_hydrogen".
22:28:32 dumpvars failed with: exit status 1

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


i have changed the device tree according to pixel

repo sync  

[CODE]Fetching projects:  99% (634/640)  Fetching project android_hardware_qcom_media
Fetching project android_hardware_qcom_audio
Fetching project android_hardware_qcom_media
Fetching project android_hardware_qcom_media

Password for 'https://github.com': 
remote: Repository not found.
fatal: Authentication failed for 'https://github.com/PixelExperience/android_device_xiaomi_hydrogen/'
Username for 'https://github.com': vamsikrishna999
Password for 'https://vamsikrishna999@github.com': 
remote: Repository not found.
fatal: repository 'https://github.com/PixelExperience/android_device_xiaomi_hydrogen/' not found

error: Cannot fetch android_device_xiaomi_hydrogen

error: Exited sync due to fetch errors

1 个答案:

答案 0 :(得分:0)

添加新的组合时,我遇到了同样的错误。原因是我在aosp / device / xxx / xxx /

路径下的AndroidProducts.mk文件中设置了错误的变量

PRODUCT_MAKEFILES:= \ $(LOCAL_DIR)/one_plus_one.mk