Page 1 of 1

Error with decompress in Android

Posted: Sat Jul 08, 2017 2:03 am
by alberto_lara
Hi, I'm making a game for Android and I'm testing in on my computer, it works well so far, the thing is, when I try to run it on my smartphone (Android 6.0) I get this error:
Image

I checked on the phone and the app has storage rights, and I'm using the last version (0.10.2) of the apk, any ideas of what can be happening? Maybe it has permission to write but not to read?

Here's the game:
game_app_4.love
(8.87 MiB) Downloaded 120 times
EDIT: I've changed the code to use a simple lua/text file as data (non compressed), and it is still working on my PC, but now I get this error on the phone:
Image

here's the new version:
new.love
(8.87 MiB) Downloaded 113 times

Re: Error with decompress in Android

Posted: Wed Jul 12, 2017 8:08 pm
by alberto_lara
UPDATE: I tried it on another Android phone and it worked... not sure what is wrong but it seems to be with my phone/android version/settings (I'll find out and tell you)

Re: Error with decompress in Android

Posted: Mon Jul 17, 2017 11:08 am
by trelemar
Wasn't the loadstring function depreciated? I'm pretty sure it's just "load" now.

Function loadstring is deprecated. Use load instead; it now accepts string arguments and are exactly equivalent to loadstring.

Re: Error with decompress in Android

Posted: Mon Jul 17, 2017 1:57 pm
by alberto_lara
you're goddamn right, I still have the decompress error in my phone though, but not in my brother's phone, pretty weird (I'd like to keep the decompress setup)

Re: Error with decompress in Android

Posted: Thu Feb 08, 2018 6:47 pm
by alberto_lara
UPDATE: looks like this was fixed some days ago with this: https://bitbucket.org/MartinFelis/love- ... -android-6
I'm going to check that out and tell you