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:
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:
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:
here's the new version:
Error with decompress in Android
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
- alberto_lara
- Party member
- Posts: 372
- Joined: Wed Oct 30, 2013 8:59 pm
- alberto_lara
- Party member
- Posts: 372
- Joined: Wed Oct 30, 2013 8:59 pm
Re: Error with decompress in Android
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
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.
Function loadstring is deprecated. Use load instead; it now accepts string arguments and are exactly equivalent to loadstring.
- alberto_lara
- Party member
- Posts: 372
- Joined: Wed Oct 30, 2013 8:59 pm
Re: Error with decompress in Android
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)
- alberto_lara
- Party member
- Posts: 372
- Joined: Wed Oct 30, 2013 8:59 pm
Re: Error with decompress in Android
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
I'm going to check that out and tell you
Who is online
Users browsing this forum: Ahrefs [Bot], Bing [Bot], plexity and 3 guests