The question is next:
I have some .txt files in my Resources folder in iOs/win32 cocos2dx project(everything works perfect there). I’m trying to port this one to Android and everything goes fine except one thing I can’t find my .txt map files when the project is built. ALL pictures in assets folder are shown I use such code for it
ss << “tutorialMap” << i << “.txt”;
std::string fileName = ss.str();
const char *fullPath = CCFileUtils::sharedFileUtils()->fullPathFromRelativePath(fileName.c_str());
#if (CC_TARGET_PLATFORM == CC_PLATFORM_ANDROID)
std::string fName = strStream.str();
fullPath = fName.c_str();
CCLog("File name is:%s",fullPath);
CCLog(“file content: %s”,str.c_str());
when iOS/win32 build works last line does shows me files content but in android it is empty. Looks like files are not there.
P.S. Also one week ago (when the project wasn’t ready) I was trying to do the same and everything was fine. Can you give me maybe some link or something else where I can find what is the reason of it.