编译华为c8812 android 5.0出错

编译华为c8812 android 5.0出错
none 0.0 0

请问, 华为c8812 lunch是选cherry吗?下面错误怎么解决呢?已经repo sync了
Which would you like? [aosp_arm-eng] 12
build/core/product_config.mk:234: *** Can not locate config makefile for product “mk_cherry”. Stop.
Device cherry not found. Attempting to retrieve device repository from MoKee OpenSource Github (https://github.com/MoKee).
Found repository: android_device_huawei_cherry
Default revision: mkl-mr1
Checking branch info
MoKee/android_device_huawei_cherry already exists
Syncing repository to retrieve project.
Traceback (most recent call last):
File “/home/yuanweigang/developer/mokee/code/.repo/repo/main.py”, line 47, in
from subcmds.version import Version
File “/home/yuanweigang/developer/mokee/code/.repo/repo/subcmds/init.py”, line 36, in
[’%s’ % name])
File “/home/yuanweigang/developer/mokee/code/.repo/repo/subcmds/smartsync.py”, line 15, in
from subcmds.sync import Sync
File “/home/yuanweigang/developer/mokee/code/.repo/repo/subcmds/sync.py”, line 51, in
import git_superproject
File “/home/yuanweigang/developer/mokee/code/.repo/repo/git_superproject.py”, line 45
success: bool
^
SyntaxError: invalid syntax
Repository synced!
Looking for dependencies
Dependencies file not found, bailing out.
Done
build/core/product_config.mk:234: *** Can not locate config makefile for product “mk_cherry”. Stop.

** Don’t have a product spec for: ‘mk_cherry’
** Do you have the right repo manifest?

[email protected]:~/developer/mokee/code$ python2 lunch
python2: can’t open file ‘lunch’: [Errno 2] No such file or directory

问题原因分析应该是缺少cherry device vendor kernel project, 正在下载尝试,github速度极慢

不是,是你的python版本太高。5.0应该是python 2.7的

我装了python2.7和3.5, python指向是python2.7 是不是还要配置python默认版本?

python问题已经解决:
Which would you like? [aosp_arm-eng] 12
build/core/product_config.mk:234: *** Can not locate config makefile for product “mk_cherry”. Stop.
Device cherry not found. Attempting to retrieve device repository from MoKee OpenSource Github (https://github.com/MoKee).
Found repository: android_device_huawei_cherry
Default revision: mkl-mr1
Checking branch info
MoKee/android_device_huawei_cherry already exists
Syncing repository to retrieve project.

error: Cannot fetch MoKee/android_device_huawei_cherry from https://github.com/MoKee/android_device_huawei_cherry
Fetching projects: 100% (1/1), done.
error: Cannot checkout MoKee/android_device_huawei_cherry: ManifestInvalidRevisionError: revision refs/heads/mkl-mr1 in MoKee/android_device_huawei_cherry not found
error: in sync --force-sync device/huawei/cherry: revision refs/heads/mkl-mr1 in MoKee/android_device_huawei_cherry not found
Repository synced!
Looking for dependencies
Dependencies file not found, bailing out.
Done
build/core/product_config.mk:234: *** Can not locate config makefile for product “mk_cherry”. Stop.

** Don’t have a product spec for: ‘mk_cherry’
** Do you have the right repo manifest?

这个错误怎么解决?我已经单独下载了device

你手动拉device的时候拉错分支了吧,没拉到mkl-mr1