i want to use libzip.so to read the files in my apk.
i use gradle-experimental:0.7.0 to configure my ndk development environment , so i do not have any makefile.
now , i have libzip.so and zip.h,how can i use them in my project?
i can use it by dlopen("libzip.so"),but i have to rewritten zip.h, like
struct zip *(*open)(const char *, int, int *)
dlsym( libc, "zip_open" )
i have tried to fixed my build.gradle,
then ,i use "System.loadLibrary("zip")" in my java file .but it do not work.
how can i load libzip.so?