Hi, to my surprise I was able to run my game on my HTC One mini (android 4.4.3 i think).
Just had to remove all my shaders.
It is a rpg with different game states. All states work fine, except the "fight" state.
When in "fight state", the game simply crashes at some point. It closes and Android gives me the message " 'LÖVE for Android' wurde beendet." (it's German for "has been closed").
edit: i already downgraded to ndk_r9, problem remains
I have no idea where to start to try fix this.
Is there any log in my phone I can look into?
Thanks, Holo
app crashes after a few seconds
Re: app crashes after a few seconds
Ja, das gibt es (German for "Yes, there is")!
https://bitbucket.org/MartinFelis/love- ... iki/Logcat
You should note that the android port uses OpenGL ES whereas the desktop version uses "proper" OpenGL. So there are very likely some differences where you have to adjust the shaders when using on mobile.
https://bitbucket.org/MartinFelis/love- ... iki/Logcat
You should note that the android port uses OpenGL ES whereas the desktop version uses "proper" OpenGL. So there are very likely some differences where you have to adjust the shaders when using on mobile.
Bird thing: @fysxdotorg Blog thing: fysx.org
Re: app crashes after a few seconds
Hi, as I said, I simply removed all my shaders.
I got logcat to work but it spit out extremely much gibberish.
Anything I should specifically look for?
Also, are there any known issues/crashes with löve functions except from shaders?
Edit: I also want to make sure i downgraded my ndk correctly.
What i did:
- extracted ndk-r9 to c:
- adjusted the NDK_HOME environment variable accordingly (win 7)
- deleted android-sdl 2 folder
- extracted your untouched andorid-sdl folder again
- inside it, ran commandline: ndk-build
Is this the correct and complete order?
Thanks
I got logcat to work but it spit out extremely much gibberish.
Anything I should specifically look for?
Also, are there any known issues/crashes with löve functions except from shaders?
Edit: I also want to make sure i downgraded my ndk correctly.
What i did:
- extracted ndk-r9 to c:
- adjusted the NDK_HOME environment variable accordingly (win 7)
- deleted android-sdl 2 folder
- extracted your untouched andorid-sdl folder again
- inside it, ran commandline: ndk-build
Is this the correct and complete order?
Thanks
Re: app crashes after a few seconds
The list is not complete. You are missing a "ant debug" or even "ant debug install" to directly install it on the device.
Are you using the latest version? In version 0.9.1b there is an error when printing values that are neither strings or numbers.
The code you can get from https://bitbucket.org/MartinFelis/love- ... ter.tar.gz has no known sources for crashes.
Are you using the latest version? In version 0.9.1b there is an error when printing values that are neither strings or numbers.
The code you can get from https://bitbucket.org/MartinFelis/love- ... ter.tar.gz has no known sources for crashes.
Bird thing: @fysxdotorg Blog thing: fysx.org
Re: app crashes after a few seconds
I had a similar problem with another Lua framework for mobile games. There my game crashed because some resource-folders started with an underscore (e.g "_data"). Android doesn't seem to like that. I'll try if changing the folder names fixes my LÖVE App
Who is online
Users browsing this forum: No registered users and 0 guests