android - Integrating Static Library Getting Error "No rule to make target : export_includes needed by import_includes" -


i facing issue while integrating static library existing shared library on android platform (lollypop)

i trying add static library(.a) in android l linked shared module(.so). module exist (i.e being built) , intend link static library module.

the code structure below ::-

-abc --xxx --yyy --zzz [newly added folder] ---android.mk [newly added] ---foo.c [wrapper file library along header files] ---newlib.a [the actual static lib being discussed] --android.mk [this present , builds library incorporates xxx , yyy name of oldlib.so] 

now have added zzz folder contains static library(newlib.a) , wrapper c file (foo.c).zzz contains android.mk build itself.

please check syntax of both android.mk

newly added android.mk local_path := $(call my-dir) include $(clear_vars) local_module := newlib local_export_ldlibs := -lnewlib local_module_suffix := .a local_module_tags := optional local_src_files := foo.c local_src_files += newlib.a include $(prebuilt_static_library) 

syntax of present android.mk [i amd highlighting changes have made new added code]

new_local_path := $(call my-dir)  include $(new_local_path)/zzz/android.mk local_path := $(new_local_path)  local_ldflags := $(local_path)/zzz/newlib.a local_whole_static_libraries := newlib 

my above configuration results in build error below error message :- make:

*** no rule make target 'out/target/product/alpha/obj/static_libraries/newlib_intermediates/export_include ',needed 'out/target/product/alpha/obj/shared_libraries/oldlib_intermediates/import_include'. stop 

could suggest can probable reason same ? if more details required please feel free ask. thanks.


Comments

Popular posts from this blog

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

java - No use of nillable="0" in SOAP Webservice -

ubuntu - Laravel 5.2 quickstart guide gives Not Found Error -