从源代码编译Android - 什么是错的,为什么它不起作用?

时间:2017-10-30 20:33:22

标签: android compilation rom

我试图为我的HTC Desire 620编译基于lolipop的Resurrection Remix。我已经下载了RR源,设备,内核和供应商 - github.com/bartek2017 我的roomservice.xml 代码:

<manifest>
  <project name="bartek2017/android_kernel_htc_a31ul" path="kernel/htc/a31ul" remote="github" revision="cm-12.1" />
  <project name="HTC-MSM8916/android_device_htc_msm8916-common" path="device/htc/msm8916-common" remote="github" revision="cm-12.1" />
  <project name="bartek2017/android_device_htc_a31ul" path="device/htc/a31ul" remote="github" revision="cm-12.1" />
  <project name="bartek2017/proprietary_vendor_htc" path="vendor/htc/a31ul" remote="github" revision="master" />
</manifest>

首先输入“.build / envsetup.sh”和“午餐”后,我没有看到为此HTC选择RR的任何选项。我想这可能是因为我没有创建任何文件,但我不知道“AndroidProducts.mk”和“vendorsetup.sh”应该是什么。其次我也不知道我是否需要更改cm.mk或cmdependencies.mk等“device / htc / a31ul /”文件中的任何内容?

当我在htc / a31ul /

中创建vendorsetup.sh时
add_lunch_combo full_a31ul-user
add_lunch_combo full_a31ul-userdebug
add_lunch_combo full_a31ul-eng

我收到如下错误:

build/core/product_config.mk:234: *** Can not locate config makefile for product "full_a31ul". Stop.
Device a31ul not found. Attempting to retrieve device repository from CyanogenMod Github (http://github.com/CyanogenMod).
Repository for a31ul not found in the CyanogenMod Github repository list. If this is in error, you may need to manually add it to your local_manifests/roomservice.xml.
build/core/product_config.mk:234: *** Can not locate config makefile for product "full_a31ul". Stop.

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

哦和

的问题
build/core/product_config.mk:234: *** Can not locate config makefile for product "full_a31ul". Stop.
即使我尝试为oneplus或samsung gt-i9300编译rom,也会出现

我正在使用Ubuntu 16.04 LTS,openjdk 8。

我不知道现在该做什么。我会感谢任何提示或教程。 拜托,我真的想学习如何编译roms但是我卡住了......

0 个答案:

没有答案