I compiled a script for android and installed the apk to my android, but when I try to write some game data to storage, it seems don't work.
What should I do if I wana read/write files on android?Thank you very much!
I compiled a script for android and installed the apk to my android, but when I try to write some game data to storage, it seems don't work.
What should I do if I wana read/write files on android?Thank you very much!
I don't think the current version (0.89.1) can write or read data. Maybe this depends on the asset management system being not working as of the current last release.
I think some commits in the repository shows that it could be probably (if not completely) fixed, with the file_get_contents
and file_put_contents
methods built-in in the version release that would hopefully available in the near future.
Ok, Thanks for your answer.