Android5.0 Gallery2上编译Gallery模块出错

在L上面,编译整个project可以编译通过,但是单独编译Gallery2模块出错,build gallery模块出现refocus的error

target  C++: libjni_jpegstream <= packages/apps/Gallery2/jni_jpegstream/src/outputstream_wrapper.cpp
target  C++: libjni_jpegstream <= packages/apps/Gallery2/jni_jpegstream/src/stream_wrapper.cpp
target SharedLib: libjni_jpegstream (out/target/product/gionee6735_65c_l/obj/SHARED_LIBRARIES/libjni_jpegstream_intermediates/LINKED/libjni_jpegstream.so)
target Symbolic: libjni_jpegstream (out/target/product/gionee6735_65c_l/symbols/system/lib64/libjni_jpegstream.so)
Export includes file: packages/apps/Gallery2/jni_jpegstream/Android.mk -- out/target/product/gionee6735_65c_l/obj/SHARED_LIBRARIES/libjni_jpegstream_intermediates/export_includes
target Strip: libjni_jpegstream (out/target/product/gionee6735_65c_l/obj/lib/libjni_jpegstream.so)
Install: out/target/product/gionee6735_65c_l/system/lib64/libjni_jpegstream.so
make: *** 没有规则可以创建“out/target/product/xxxxxxx/obj_arm/SHARED_LIBRARIES/libjni_image_refocus_intermediates/import_includes”
需要的目标“out/target/product/xxxxxxx/obj_arm/STATIC_LIBRARIES/libutilitysw_intermediates/export_includes”。 停止。

有两种解决办法:

第一种方法:若mmm packages/apps/Gallery2来build的话,请将packages/apps/Gallery2/src/jni_refocus/Android.mk文件删除
第二种方法:或者使用mmma packages/apps/Gallery2来编译,它会检查dependence

郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。