1. 程式人生 > >Android 5.1 Gallery2編譯報錯make: *** No rule to make target `out/target/product/techain6572_wet_l/obj/S

Android 5.1 Gallery2編譯報錯make: *** No rule to make target `out/target/product/techain6572_wet_l/obj/S

報錯 :

make: *** No rule to make target `out/target/product/techain6572_wet_l/obj/STATIC_LIBRARIES/libutilitysw_intermediates/export_includes', needed by `out/target/product/techain6572_wet_l/obj/SHARED_LIBRARIES/libjni_image_refocus_intermediates/import_includes'.  Stop.

解決辦法:

 第一種方法:若mmm packages/apps/Gallery2來build的話,請將packages/apps/Gallery2/src/jni_refocus/Android.mk檔案刪除
 第二種方法:或者使用mmma packages/apps/Gallery2來編譯,它會檢查dependence