0 votes

Good day

I just want to find out if there is another way to integrate Admob to my completed project besides having to use the Plugin and custom templates. This method doesn't seem to work for me. Before i was able to easily
Export my project for my android device but now everytime i try to export i get an exit code 1 Error.

Or if possible please advise how i can fix this
My Godot version is 3.3.1

Godot version 3.3.1
in Engine by (12 points)

What's the error from the output?

Failure: Build failed with exception

Could not resolve all artifacts for configuration 'classpath'.
Could not resolve com.android.build:grandle:4.2.1

It has to do with the gradle version. You will have to download the appropriate gradle version. gradle 4.2.1 is not installed.
Try:
classpath 'com.android.tools.build:gradle:4.1.1' in your build.gradle file in dependencies. Or if this does not work try:
classpath 'com.android.tools.build:gradle:4.0.1' in your build.gradle file in dependencies.

1 Answer

0 votes

Hey,
Using this plugin to integration Admob:
https://github.com/Shin-NiL/Godot-Android-Admob-Plugin

by (59 points)
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.