I have read similar questions to this but none of the answer provided worked.
I want to build a shared library for android to link with JNI, all libraries on which it depends are static libraries. I used this to build spatialite and sqlite for android : https://github.com/geopaparazzi/libjsqlite-spatialite-android/wiki/spatialite-5.0.0.mk .
My makefile for the module looks like this :
The build stops because none of the included header files are found in spatialite_osm_overpass.c. I have tried to add APP_MODULES := sqlite spatialite xml2 in my Application.mk but it doesn't work.
I have also tried to build this library as a static library by setting APP_MODULES := osm_to_spatialite but the .a is not generated.
can somebody check if my code is correct ? alternatively, how can i generate a .a to link with JNI ?