Android5.0 Gallery2上编译Gallery模块出错
时间:2015-05-05 19:32:57 阅读:105 评论:0 收藏:0 [点我收藏+]
在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
时间: 2024-10-02 02:13:54