2012-10-04 38 views
0

我試圖用AOSCompiler(使用ubuntu)編譯CM10。我得到了2個問題:錯誤與AOSCompiler - CM10 - Galaxy Nexus/maguro

1.It在說我,它無法找到我的設備:

[email protected]:~/.aoscompiler/build$ . build/envsetup.sh 
including device/generic/armv7-a-neon/vendorsetup.sh 
including device/generic/armv7-a/vendorsetup.sh 
including device/ti/panda/vendorsetup.sh 
including vendor/cm/vendorsetup.sh 
including sdk/bash_completion/adb.bash 
[email protected]:~/.aoscompiler/build$ lunch cm_maguro-userdebug 
build/core/product_config.mk:189: *** _nic.PRODUCTS.[[device/*/maguro/cm.mk]]: "device/samsung/tuna/device.mk" does not exist. Stop. 
Device maguro not found. Attempting to retrieve device repository from CyanogenMod Github (http://github.com/CyanogenMod). 
Found repository: android_device_samsung_maguro 
CyanogenMod/android_device_samsung_maguro already exists 
Syncing repository to retrieve project. 
Fetching projects: 100% (1/1), done. 

Repository synced! 
Looking for dependencies 
Done 
build/core/product_config.mk:189: *** _nic.PRODUCTS.[[device/*/maguro/cm.mk]]: "device/samsung/tuna/device.mk" does not exist. Stop. 

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

我試圖做的只是「午餐」,並從列表中選擇我的設備中,但給了我同樣的錯誤。 我試圖使用'早餐',它也給了我同樣的錯誤。

2. AOSCOmpiler話說:

亞行沒有運行 需要亞行建立供應商檔案。

這是你要做的事嗎?

請重試。

即使我加入/etc/bash.bashrc此行的文件」:

出口PATH = $ {PATH}:/家庭/ elichai /下載/ SDK /工具:/首頁/ elichai/Downloads/SDK/platform-tools

(這是我的SDK位置),現在我可以使用'adb'而無需轉到SDK文件夾。但它仍然不起作用(AOSCompiler)。

回答

0

對不起,我知道這是老了,但是,向export PATH=${PATH}:/home/elichai/Downloads/SDK/tools:/home/elichai/Downloads/SDK/platform-tools你應該刪除{}Š export PATH=$PATH:/home/elichai/Downloads/SDK/tools:/home/elichai/Downloads/SDK/platform-tools 這就是我所做的。我在Ubuntu 10.04上

此外,你可以添加路徑到你的.bashrc,假設你使用了bach作爲你的shell。

我確定有人會糾正我,如果我錯了。