I don’t know if there are precompiled .so files that I can use for my project, if there is could someone let me know where I can find them for v3.5.7? I followed the guide here (https://www.zetetic.net/sqlcipher/sqlcipher-for-android/) and tried to build from source. I can execute make init without issues, but when I try to run make I get the following errors:
/Users/mpellegrino/Documents/android-database-sqlcipher/jni/net_sqlcipher_database_SQLiteCompiledSql.cpp:76:33: error: use of undeclared
identifier 'malloc’
char message = (char) malloc(strlen(query) + 50);
^
/Users/mpellegrino/Documents/android-database-sqlcipher/jni/net_sqlcipher_database_SQLiteCompiledSql.cpp:83:9: error: use of undeclared
identifier 'free’
free(message);
^
2 errors generated.
make[1]: *** [/Users/mpellegrino/Documents/android-database-sqlcipher/obj/local/armeabi/objs/sqlcipher/net_sqlcipher_database_SQLiteCompiledSql.o] Error 1
make[1]: Leaving directory `/Users/mpellegrino/Documents/android-database-sqlcipher/jni’
make: *** [build-native-32] Error 2
and the .so files are not generated. I am using ndk version r11c, which was recommended in the read me but it’s not working.