我正在尝试从 aosp 构建一个电话应用程序。我已经按照谷歌指南中的描述配置了我的工作目录。然后我要去我的工作目录,执行source build/envsetup.sh
并获得以下内容:
including device/asus/grouper/vendorsetup.sh
including device/generic/armv7-a-neon/vendorsetup.sh
including device/generic/armv7-a/vendorsetup.sh
including device/moto/wingray/vendorsetup.sh
including device/samsung/crespo/vendorsetup.sh
including device/samsung/maguro/vendorsetup.sh
including device/ti/panda/vendorsetup.sh
including sdk/bash_completion/adb.bash
然后我正在执行命令mmm packages/apps/Phone/
并且出了点问题,我明白了
make: Entering directory `/home/build/WORK_DIR'
make: *** No rule to make target `out/target/common/obj/JAVA_LIBRARIES/core_intermediates/javalib.jar', needed by `out/target/common/obj/JAVA_LIBRARIES/com.android.phone.common_intermediates/classes-full-debug.jar'. Stop.
make: Leaving directory `/home/build/WORK_DIR'
谁能解释我该怎么办?我应该先构建整个android项目,还是makefile中的一个错误?