Page 1 of 1

android: save file

Posted: Thu Sep 05, 2019 4:19 pm
by trabitboy
hi,
I can't seem to save files on android with 11.1 .
application has "storage" permission.
I don't see any new folder created in /Android/data/ either?

here is my test:
love. file system. write('test.txt','test')

Re: android: save file

Posted: Thu Sep 05, 2019 4:36 pm
by trabitboy
main.lua
to be put in 'lovegame'
(64 Bytes) Downloaded 349 times
example file

Re: android: save file

Posted: Fri Sep 06, 2019 11:30 am
by trabitboy
re read the wiki correctly, this is the fix:

Code: Select all

function love.conf(t)
    t.externalstorage = true
end

Re: android: save file

Posted: Wed May 04, 2022 8:08 am
by PotatoDude
It's been a while but thx