Android game crashes after using AdMob

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

Hi, I am trying to add ads in my game using the plugin by [1]: Release Version 4.0.0 · Shin-NiL/Godot-Android-Admob-Plugin · GitHub.

i followed the steps in https://godotlearn.com/godot-3-2-how-to-integrate-google-ads-admob-for-android/.

When i try exporting the game through the one click deploy, it installs the game and then crashes shortly after opening. I use Godot 3.2.2 . i have followed all the steps given in that tutorial correctly.

Before adding the Admob plugin the game could be exported correctly.

I am having this exact issue when I try to use the AdMob plugin! Let me know if you find a solution!

rossusher147 | 2020-09-15 23:59

:bust_in_silhouette: Reply From: newnormal

I had the same issue. To make it work I had to use godot 3.2.2 and the ShinNil plugin release 4.0.0. Extract the contents of the admob plugin file (inside the zip) to res/android/plugin directory of your godot project. Extract the admob-lib folder to your projects res// folder. Follow the instructions mentioned in the github page about how to change the android manifest.xml file. DO NOT type anything in the module section of android sub-section of project settings in godot. Leave it empty as it is. Copy and paste the test ad id’s to the admob node. and export to your android device. It worked for me. I don’t know why it worked though.

:bust_in_silhouette: Reply From: maxiproduksiyon

I’m using godot 3.2.3. I have the same problem. The problem isn’t with our games. There is the same problem with the demo project.

:bust_in_silhouette: Reply From: maxiproduksiyon

version 3.0.1 of this plugin worked on Godot version 3.2.3 and 3.2.2. The game is no longer crashing. test ad appeared. I hope there will be no problems with original ads. The game crashes in versions 4.0 or 4.1.1. still in every version the program gives the following error:

Unicode error: invalid utf8

How do you implement this plugin 3.0.1 to godot 3.2.3? I cant even export to android

NgaeGameStudio | 2021-10-08 14:06