Android Export Gradle Build Failing
Asked Answered
F

1

0

So I'm trying to export my game to android and when I export without gradle build it works fine (finally) But when I do use gradle build for Admod it fails. There's no error outside of telling me it failed and to check the output for the error. What output? The window disappears before the text has even finished printing to it. The closest thing I could get to being able to read it was once when I guess I just got lucky and it disappeared slowly enough while I was running OBS on that monitor, did a frame by frame in Premier and got this:

Still not sure what that meant and couldn't find any information on it. I've tried numerous things since them like uninstalling and reinstalling packages and making sure I had the correct version and it didn't do a thing. Or maybe it did and that error message has been resolved and I'm now dealing with a new one. Either way I won't know because I can't see what the problem is.

Has anyone else been running into this issue or know how to solve it? I beg of you, enlighten me.

I've been trying to export my project to android for about a month now and idk why Godot is making it so difficult but if I can't figure it out in the next week I'm gonna have to go back to Unity.

Fluorene answered 12/11, 2023 at 14:55 Comment(0)
M
0

The image is hard to see. It would be better to post the information as text. That would also enable copying/pasting the error messages for web searches.

The error could mean that you need a later version of the JDK. For class file version 65, you need Java SE 21.
Reference: https://en.wikipedia.org/wiki/Java_version_history

That's only a guess. I don't know if that's the proper solution.

Maidie answered 12/11, 2023 at 15:30 Comment(0)

© 2022 - 2025 — McMap. All rights reserved.