Page 1 of 1

Android game

Posted: Wed Mar 30, 2016 8:36 pm
by Mateus
Hello,
I am able to build an APK thanks to this video :
https://www.youtube.com/watch?v=vfn1nTjPuOY

BUT,

the game crashes all the time. Does anyone know how to fix it ? Thank you.

Re: Android game

Posted: Wed Mar 30, 2016 9:02 pm
by Skeletonxf
Can you explain the error message when it crashes?

Thanks for providing a link to that youtube video though, I think I may try making an apk myself now. I found previously that my phone didn't like my use of shaders without .0 on all the numbers whereas on desktop there wasn't any problems but after adding .0 to all the numbers it stopped complaining on my phone and worked fine.

Re: Android game

Posted: Wed Mar 30, 2016 9:12 pm
by Mateus
It crashes as android app, not love project

Re: Android game

Posted: Wed Mar 30, 2016 9:13 pm
by anastasiaorosegirl
Mateus wrote:It crashes as android app, not love project
Did you get an error message for Andriod and if not, can you see if you can get one from some sort of console? That might help in some way.

Re: Android game

Posted: Wed Mar 30, 2016 9:25 pm
by Mateus
It just says the app has crashed.

Re: Android game

Posted: Wed Mar 30, 2016 9:53 pm
by Skeletonxf
Oh :/

Try running the .love file from https://love2d.org/ app for Android on your phone and see if there's an error message on that?

Re: Android game

Posted: Wed Mar 30, 2016 10:30 pm
by Mateus
Everything goes as it should (except I can't use shaders..) until I build an .apk. A friend of mine has newer phone and he says it runs ok. I am running Samusung Galaxy Mini 2

Re: Android game

Posted: Thu Mar 31, 2016 4:57 pm
by Mateus
Okey seems like the builder provided in the video wasn't ment for Android builds lower than 19. Which my phone obviously was.