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

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

时间:2015-05-05 19:32:57      阅读:105      评论:0      收藏:0      [点我收藏+]

标签:android   gallery2

在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

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

标签:android   gallery2

上一篇:H5与CS3权威下.19 选择器(2)结构性伪类选择器


下一篇:向ASP.NET Core迁移