Hello, I’ve copied some xml-file into Resource folder and it’s present int apk’s assets folder with sample images (for hello world app).
Now I want to load that file using tinyxml:
const char* path = “test.xml”;
DocumentPtr document = DocumentPtr(new TiXmlDocument(path));
bool loadResult = document~~>LoadFile;
TiXmlElement* document_element = document~~>RootElement();
if (document_element != nullptr)
And this prints both: `Failed to load` and `Error`. So, it can’t find the file source to load it. What could be wrong here? Sample images are loading just by image name and it’s okay.