1

我正在尝试为 intl G2 构建 CyanogenMod(我所做的唯一更改是添加光环)

对于我已经完成的 repo init:

repo init -u git://github.com/CyanogenMod/android.git -b cm-11.0 -g all,-notdefault,d802,lge

然后 repo sync -j8

在那之后,就像我说的那样,我添加了光环。

现在我正在尝试通过以下方式构建:

$ source build/envsetup.sh
$ breakfast d802

但我唯一得到的是:

root@synnyg-PC:~/CM/G2# breakfast d802
including vendor/cm/vendorsetup.sh
build/core/product_config.mk:238: *** _nic.PRODUCTS.[[device/lge/d802/cm.mk]]: "device/lge/g2-common/g2.mk" does not exist. Arrêt.
Device d802 not found. Attempting to retrieve device repository from CyanogenMod Github (http://github.com/CyanogenMod).
Traceback (most recent call last):
  File "build/tools/roomservice.py", line 76, in <module>
    result = json.loads(urllib.request.urlopen(githubreq).read().decode())
  File "/usr/lib/python2.7/urllib2.py", line 127, in urlopen
    return _opener.open(url, data, timeout)
  File "/usr/lib/python2.7/urllib2.py", line 410, in open
    response = meth(req, response)
  File "/usr/lib/python2.7/urllib2.py", line 523, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib/python2.7/urllib2.py", line 448, in error
    return self._call_chain(*args)
  File "/usr/lib/python2.7/urllib2.py", line 382, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.7/urllib2.py", line 531, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
urllib2.HTTPError: HTTP Error 403: Forbidden
build/core/product_config.mk:238: *** _nic.PRODUCTS.[[device/lge/d802/cm.mk]]: "device/lge/g2-common/g2.mk" does not exist. Arrêt.

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

我不明白,因为当我查看设备时,没有 lge/d802 目录。通过执行 init 命令,我将不得不下载特定文件......

午餐和早餐命令也给了我同样的错误......

你知道我哪里错了,我能做什么?我想我必须下载设备特定的文件,但我该怎么做(如果这是错误)?我没有看到...提前谢谢!

4

0 回答 0