+1 vote

I'd like to use ads in my Android mobile game. I set the Android module to:

org/godotengine/godot/GodotAdMob

In my singleton script I used this code:

func _ready():
    if Engine.has_singleton("AdMob"):
        print("success")
    else:
        print("error")

Unfortunately, every time I run the app, the console prints "error".

Any ideas?

asked Jan 12 in Engine by melka24 (16 points)

when you run, do you run it on android or something else?

Please log in or register to answer this question.

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.