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

Unable to export due to Gradle. Error: Unsupported class file major version 59 #129

Closed InfiniteNex closed 3 years ago

InfiniteNex commented 3 years ago

Godot version: 3.2.3

AdMob Plugin version:4.1.0 and 4.1.1

Issue description: I get this error when trying to export with this custom build.

FAILURE: Build failed with an exception.

Things i've tried but havent worked so far: Reinstalled the android build template. Tried using JDK 8, 11 12 and 15 exporting with or without an admob node in the project scene

config.gradle says: androidGradlePlugin: '3.5.3' but the gradle.wrapped is on 5.6.4 and I dont know if thats a problem or how to fix it, because it comes with the android build template that godot installs on its own.

Full error report below:

FAILURE: Build failed with an exception.

BUILD FAILED in 520ms

Exit Code: 1

InfiniteNex commented 3 years ago

I managed to fix it by extracting the tools in C:\Users...\AppData\Local\Android\Sdk\tools with 7z instead of the windows zip program