Shin-NiL / Godot-Android-Admob-Plugin

Android AdMob plugin for Godot Game Engine 3.2 or higher
MIT License
543 stars 66 forks source link

Getting error exporting the project #208

Open SnowmanPlayz opened 1 year ago

SnowmanPlayz commented 1 year ago

*Godot version:3.4.5*

*AdMob Plugin version:6.1.1*

*Issue Description:I export the project but I an error*

The output was:

Task :preBuild UP-TO-DATE Task :preDebugBuild UP-TO-DATE Task :compileDebugAidl NO-SOURCE Task :compileDebugRenderscript NO-SOURCE Task :generateDebugBuildConfig UP-TO-DATE Task :javaPreCompileDebug UP-TO-DATE Task :generateDebugResValues UP-TO-DATE Task :generateDebugResources UP-TO-DATE Task :checkDebugAarMetadata FAILED Task :mergeDebugResources UP-TO-DATE

FAILURE: Build failed with an exception.

BUILD FAILED in 8s 5 actionable tasks: 1 executed, 4 up-to-date

ramon-rodrigues3 commented 1 year ago

The same thing happened to me.

vi4hu commented 1 year ago

@SnowmanPlayz @RabiscoJE did you guys found a fix?

ramon-rodrigues3 commented 1 year ago

I found. In my case it was that the Plugin version was not compatible with my Godot version.

vi4hu commented 1 year ago

Great to hear that. I created the game using 3.5.1 but as the latest plugin only support till 3.4.5 i was using that to export but got the error. What would you suggest I shall do?

ramon-rodrigues3 commented 1 year ago

In my case it was different. I was using the Plugin on an older version of Godot. I solved the problem using version 6.0 on Godot 3.5.1. In your case, Android sdk 31 may be missing.