Android export generates error when "Export With Debug" option os off (Godot 3.1 b11)

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

The APK generated while exporting is huge and I read that disabling “Export With Debug” option could reduce significantly the final size of the .apk file.

But if I turn off this option…
enter image description here

… i get these errors:

enter image description here

enter image description here

Turning this option on again, the export works ok.

What’s wrong?

To make the APK smaller, you should export one APK per architecture by checking only one architecture in the export preset (unused architectures will be stripped from the final APK), then upload them to Google Play using Multiple APK support.

To reduce the size further, you may also want to compile custom Android export templates with unneeded modules disabled, see Optimizing for size in the documentation.

Calinou | 2019-03-09 12:48

:bust_in_silhouette: Reply From: rogeriodec

Solved with Github support.