I'm not entirely sure what has caused this but love-android-sdl2 doesn't seem to work on Moto G devices. It doesn't display the "nogame" screen nor does it load any game. This has been tested with a compiled .apk (namely LoveBurgers), too, and the same issue persists. What's given is a blue screen (as if an error has been found on LOVE) without any sort of text. Tested on alpha1 and alpha8 with multiple reinstalls.
Comments (11)
-
repo owner -
repo owner Is the problem still persistent with beta1? You can get it from https://bitbucket.org/MartinFelis/love-android-sdl2/downloads
Any feedback would be appreciated.
-
Sorry, I meant to reply to this. I'll get right on to seeing if I can get that log output. Yeah, the issue is still there in beta1.
-
Hm... it seems as if Google have purposefully made it difficult to gtet logoutput on KitKat. I can't seem to find any information on how to do it :s
-
repo owner Just added a page on the wiki: https://bitbucket.org/MartinFelis/love-android-sdl2/wiki/How_to_get_output_of_Logcat.
Hope it helps!
-
repo owner Were you able to get some log output? Have you tried uninstalling the app and just running a fresh install of the default beta1 apk?
I really would like to get this fixed but I do not have a Moto G :(
-
repo owner Is it still crashing? Any chance to get updates on this issue?
-
repo owner - changed status to invalid
Did not get any feedback.
-
repo owner - changed status to open
headchant confirmed this bug and helped fixing it.
Seems like the Moto G (and possibly other phones) are strict with some GLES SL specifications. In src/scripts/graphics.lua there are two places where the first line is specified for the actual GLSL code: https://bitbucket.org/MartinFelis/love-android-sdl2/src/684adff8267cb3f97c51a6acea18fb1f6ecd4471/jni/love/src/scripts/graphics.lua?at=master#cl-1428 and https://bitbucket.org/MartinFelis/love-android-sdl2/src/684adff8267cb3f97c51a6acea18fb1f6ecd4471/jni/love/src/scripts/graphics.lua?at=master#cl-1439.
Unfortunately "#line 0" is not accepted by the Moto G. Using "#line 1" instead fixes it and makes LÖVE run on the Moto G.
-
repo owner - changed status to resolved
Fixed as of c40250e5655699383
-
repo owner newly generated graphics.lua.h (should actually fix
#31)→ <<cset 6be242ef0302>>
- Log in to comment
Can you post the log output? You need to install the Android SDK and use adb to obtain it.