Compiled Exception Log:
System/core/include/cutils/properties.h:22:35:fatal Error:sys/system_properties.h:no such file or Directorycompilation terminated.make[1]: * * * [out/host/linux-x86/obj/static_libraries/libinput_intermediates/< STRONG>XXXXX</STRONG>.O] Error 1make[1]: Leaving directory '/home/<strong>xxxx</strong>/code/<strong> Xxxxx</strong>/kk/bra_<strong>xxxx</strong>/alps ' ==> [FAIL] 2015/03/20 17:16:54make: * * * [mm] Error 2
Analysis:
compilation is simply because Build_host_static_library does not reference the corresponding static library, the Mk file references the corresponding static library, compiled by.
To modify the Android.mk file:
Local_module_tags: = Optional
Local_static_libraries: = \
Libcutils \
Include $ (build_host_static_library)
If the Mk file for the corresponding module cannot be found, use this command to try the search:
The following xxxx.cpp can make the files in the compiled module, preferably after you modify the file
Find-name *.mk | Xargs grep "Xxxx.cpp"-NSR--color=auto
Note! Above XXXX in order to avoid sensitive information and use XXXX instead. I am not very familiar with the compilation script and the underlying, so the resolution process is more painful, so leave this blog and encounter such problems of friends to share, but also hope that we can understand the spirit of sharing.
Resolve fatal Error:sys/system_properties.h:no Such file or directory compilation terminated.