+1 vote

Hi, I am trying to add ads in my game using the plugin by [1]: https://github.com/Shin-NiL/Godot-Android-Admob-Plugin/releases/tag/v4.0.0.

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.

in Engine by (40 points)

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

3 Answers

0 votes

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.

by (14 points)
0 votes

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.

by (43 points)
0 votes

https://github.com/Shin-NiL/Godot-Android-Admob-Plugin/releases

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

by (43 points)

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

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.