我试图用 AOSCompiler 编译 CM10(使用 ubuntu)。我有两个问题:
1.它说我找不到我的设备:
elichai@elichai-MT6840:~/.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
elichai@elichai-MT6840:~/.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.AOSCCompiler 说:
Adb 没有运行需要 adb 来设置供应商文件。
这是你要自己做的事情吗?
请再试一次。
即使我在文件'/etc/bash.bashrc 中添加了这一行:
导出 PATH=${PATH}:/home/elichai/Downloads/SDK/tools:/home/elichai/Downloads/SDK/platform-tools
(这是我的 SDK 位置)现在我可以使用“adb”而无需进入 SDK 文件夹。但它仍然无法正常工作(AOSCompiler)。