No.1 ======================================== frameworks/av/services/camera/libcameraservice/camera2/ZslProcessor.cpp: In member function 'android::status_t android::camera2::ZslProcessor::updateStream(const android::camera2::Parameters&)': frameworks/av/services/camera/libcameraservice/camera2/ZslProcessor.cpp:121:13: error: 'GRALLOC_USAGE_HW_CAMERA_ZSL' was not declared in this scope make: *** [/media/scue/Enjoy/AndroidCode/cm10.1/out/target/product/stuttgart/obj/SHARED_LIBRARIES/libcameraservice_intermediates/camera2/ZslProcessor.o] Error 1 make: *** Waiting for unfinished jobs.... Solution: 编辑frameworks/av/services/camera/libcameraservice/camera2/ZslProcessor.cpp, 在文件中添加以下代码: #include "../../../../../../hardware/libhardware/include/hardware/gralloc.h"