Admob integration

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

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

What’s the error from the output?

Ertain | 2021-06-09 17:10

Failure: Build failed with exception

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

Mxolisi | 2021-06-10 03:30

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.

subtree | 2021-06-29 07:10

:bust_in_silhouette: Reply From: Shailesh dhaduk

Hey,
Using this plugin to integration Admob: