godot icon indicating copy to clipboard operation
godot copied to clipboard

Android export gradle version issue

Open the-token-studios opened this issue 1 year ago • 2 comments

Godot version

3.5.2 stable

System information

Windows 11

Issue description

I recently tried to migrate one of the projects from 3.5.1 to 3.5.2. I encountered the following error while exporting to android.

image

This happened because of the issue https://github.com/godotengine/godot/pull/68497.

In this, Gradle version is moved up to 7.4 and AGP to 7.2.1. It is nice that some of the earlier warnings went away, but this happened.

Now when I changed the gradle version to 7.4.2 taking a note from the issue https://github.com/godotengine/godot/pull/62615

The error went away.

It seems there is some incompatibility between AGP 7.2.1 and Gradle 7.4. I suggest moving the Gradle version to 7.4.2, in the next release.

Steps to reproduce

export project for android using custom build (23-32)

Minimal reproduction project

N/A

the-token-studios avatar Mar 09 '23 09:03 the-token-studios

Indeed while I had upgraded to Gradle 7.4.2 in #62615, the PR #68497 which was merged eventually only moved us to Gradle 7.4. Was there a specific reason for this or was it an oversight @m4gr3d? I don't remember the details on Gradle + AGP version incompatibilities.

akien-mga avatar Mar 09 '23 09:03 akien-mga

Indeed while I had upgraded to Gradle 7.4.2 in #62615, the PR #68497 which was merged eventually only moved us to Gradle 7.4. Was there a specific reason for this or was it an oversight @m4gr3d? I don't remember the details on Gradle + AGP version incompatibilities.

I think it was an oversight; we should be able to bump it to 7.4.2

m4gr3d avatar Mar 09 '23 13:03 m4gr3d