Engine.has_Singleton("AdMob") is returning false.

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

The statement Engine.has_Singleton(“AdMob”) is returning false.
Here is the whole code: https://drive.google.com/file/d/1j4itotsmEiUoCx7NL3ZqSy3SvmmNnjpZ/view?usp=drivesdk

How can i fix this. Someone please help.

Have you looked at this tutorial?

http://kidscancode.org/godot_recipes/games/circle_jump/circle_jump_11/#using-godot-modules

Also, the module (apparently) only works on Android, so you need to test it there…

jgodfrey | 2020-03-15 15:32

When i run it on android the game crashes. Adb logcat shows :
AndroidRuntime: java.lang.ClassNotFoundException: Didn’t find class “org/godotengine/godot/GodotAdMob” on path.
Also i have also put “org/godotengine/godot/GodotAdMob” in the the modules.
I have also put the path of debug and release under the custom package and still it shows false in computer and the game crashes in android. What should i do?

App_develooer | 2020-03-16 04:34

Same problem, it happens on every package not only AdMob… Any solutions??

Fedar | 2020-07-15 16:17