Page 1 of 1

Black screen on android. Bug?

Posted: Tue Feb 16, 2021 5:28 pm
by uriid1
After minimizing the game, only a black screen. So on several phones. And so it doesn't depend on the project. :o
Example: https://microvolnovka.itch.io/flappylinda-love2d

UPD: If, after minimizing, you open the game by clicking on the icon.
UPD: I tested on 3 phones with android 10

apk collected using apktool.

Re: Black screen on android. Bug?

Posted: Tue Feb 16, 2021 10:53 pm
by ohai
I've encountered this a few times too while testing my game on some phones. In my experience it's not easily reproducible though, sometimes it works sometimes it doesn't.

Re: Black screen on android. Bug?

Posted: Wed Feb 17, 2021 7:55 pm
by uriid1
ohai wrote: Tue Feb 16, 2021 10:53 pm I've encountered this a few times too while testing my game on some phones. In my experience it's not easily reproducible though, sometimes it works sometimes it doesn't.
I just built a game using android studio instead of apktool and it got rid of the black screen :)

Re: Black screen on android. Bug?

Posted: Wed Feb 17, 2021 8:23 pm
by ohai
uriid1 wrote: Wed Feb 17, 2021 7:55 pm I just built a game using android studio instead of apktool and it got rid of the black screen :)
Hmm... I'm building with android studio too. Maybe it's a different problem ¯\_(ツ)_/¯.

Re: Black screen on android. Bug?

Posted: Wed Feb 17, 2021 8:29 pm
by uriid1
ohai wrote: Wed Feb 17, 2021 8:23 pm
uriid1 wrote: Wed Feb 17, 2021 7:55 pm I just built a game using android studio instead of apktool and it got rid of the black screen :)
Hmm... I'm building with android studio too. Maybe it's a different problem ¯\_(ツ)_/¯.
Very interesting: D
Try my apk game to test if you get a black screen

UPD: Android Studio set up here

Re: Black screen on android. Bug?

Posted: Wed Feb 17, 2021 11:40 pm
by ohai
Your app definitely behaves better than mine.
I'm using a different base though, so maybe the problem is somewhere in there.