External Publication
Visit Post

No hash for gradle version

F-Droid Forum [Unofficial] May 8, 2026
Source

Currently I’m following the “Submitting to F-Droid Quick Start Guide”. Everything works until I run fdroid build com.xy..., where I get the following error:

Found 9.5.0 via distributionUrl
No hash for gradle version 9.5.0! Exiting...

Maybe I’m misunderstanding something, but Gradle version 9.5.0 is listed in the Gradle checksums, and I also checked the gradlew.py file which contains the SHA256 hash for 9.0.0.

My current libs.versions.toml contains:

android-application = { id = "com.android.application", version.ref = "agp" }

agp = "9.0.0"

And my gradle-wrapper.properties looks like this:

distributionSha256Sum=553c78f50dafcd54d65b9a444649057857469edf836431389695608536d6b746
distributionUrl=https\://services.gradle.org/distributions/gradle-9.5.0-bin.zip

But it still doesn’t work.

Does anybody have a hint what the problem could be? I searched through the wiki and documentation but couldn’t find a solution. Maybe I’m overlooking something.

Discussion in the ATmosphere

Loading comments...