I do not know if you have solved this issue, but the solution is to add it as follows on your Android.mk (and only this line, without nothing else I got it working)
iphone is ok. but android ndk is not build with sqlite3.c
>
I don’t understand Why NDK is want sqlite3.o
>
so. I make a sqlite3.o but that was rejected.
>
OH MyGOD. that is a build log.
>
Compile++ thumb : game_shared <= Skill.cpp
make: *** No rule to make target `jni/jni/…/…/Classes/sqlite3.c’, needed by `obj/local/armeabi/objs/game_shared/jni///Classes/sqlite3.o’. Stop.
make: Leaving directory `/Project/ProjectA/Client/DochiDream/proj.android’
>
>
and it is my android.mk
>
LOCAL_SRC_FILES := hellocpp/main.cpp > $ > $/…/…/Classes/sqlite3.c
<pre>
sqlite3**pdb=NULL;
std::string path = CCFileUtils::sharedFileUtils->fullPathForFilename; #if CC_TARGET_PLATFORM CC_PLATFORM_ANDROID
path = CCFileUtils::sharedFileUtils()->getWritablePath();
path += “/Question.db3”;
FILE\* file = fopen(path.c\_str(), "r");
if (file NULL)