Problem exporting to Android (3.0.6)

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Lone Dragon

Hi there,

I’m a newbie, just developing a small game for my niece when I got stuck with this export problem. I can’t make game work on Android devices.

Splash screen shows up, but the screen is blank. I can hear the background music, touch screen seems to be working as I can hear game sound effects when the screen is touched, but nothing appears on screen.

Another weird behavior is: If I set export template to landscape, splash screen is displayed perfectly as expected, however if I set the game to portrait, the splash screen assumes the correspondent screen size but is still shown as landscape, that means just half of the screen is fit horizontally and splash screen is cut vertically. Still game screen is blank, just splash screen shows up.

I tried one of the sample projects just in case my project had some problem and exported that 3D in 2D robots example. Weird stuff: The 2D Robot shows up, the 3D one does not. Again the screen is cut when portrait is selected instead of changing orientation.

I succesfully exported my project to Linux 64bit and 32bits, Windows 32 and 64bits. Weird stuff is Windows executables do not work on VirtualBox Windows Machines (it says video card does not support OpenGL 3), but do perfectly on Wine.

By the Way I’m working on Manjaro Linux 64bits and export templates 3.0.6, same version as Godot.

Android devices I tried to export to, a Smartphone and a Tablet are Android 4.2 and Android 5.1 respectively.

Thank you in advance.

:bust_in_silhouette: Reply From: Lone Dragon

Ok. Here is how a solved the problems.
First, I tried to export some projects from Godot 2 and they worked fine.
I searched and found out Godot 3 quit support for GL|ES2. So I downloaded Godot 3.1 alpha and switched to GL|ES2 in the top right corner.

To solve the orientation problem I followed Robert9g instructions in this topic:

Thanks to Godot team and community for the great work.

Merry Christmas!