Admob, release and debug apk causing elements of game to not work.

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By yeeshu06
:warning: Old Version Published before Godot 3 was released.

Hi. I have already designed a game…and recently needed to add ads in game. I have built whole template apks for it…etc…all work is done…the ads work on a separate engine exporting to phone.

I am using this : GitHub - Shin-NiL/godot-admob: Module Admob for Godot engine

Now when i port some of the code in the game…to trigger and show an interstitial or banner…the ads dont show…and worst is that some elements of the game dont work. Like canvas layer (Progress bar), sprites change etc. Any idea what the apks cud be doing ?
I also removed the custom package (debug,release) apks for the game and it runs fine. Only when i direct the custom packages, this problem persists. Any help would be great. Thanks.

What Godot version are you using? And have you tried to compile the .apk template yourself?

jospic | 2017-08-29 08:08

I am using this Godot 2.1.2 stable version, that i downloaded : Release 2.1.2-stable · godotengine/godot · GitHub

No. I used this guy’s apk templates he provided for his admob :

GitHub - Shin-NiL/godot-admob: Module Admob for Godot engine

When i use my own compiled apks, the game works. But i need these apk templates for the ad…any suggestions?

yeeshu06 | 2017-08-29 08:27

Some days ago I’ve tried this module for my android game and it was works perfectly. But since template .apk were too old (10 months…) I preferred to compile myself.

Compiling for Android — Godot Engine (stable) documentation in English


jospic | 2017-08-29 09:22

Cool I will try that. Thanks. Use the admob and add it to modules…Then generate my own apks. Thanks.

yeeshu06 | 2017-08-29 09:32

Hi, I am able to compile templates .apk without anyone’s custom modules added to it.

The problem I am having is, to compile apks using a custom module, since the module itself does not get added to apk.


yeeshu06 | 2017-08-31 09:03