arduia / ProExpense

Simple free finance note for daily expenses
GNU General Public License v3.0
89 stars 18 forks source link

Wrong sha256 checksum for gradle #82

Open ThiGli opened 6 months ago

ThiGli commented 6 months ago

I was trying to run the app on my computer and got an error when installing gradle:

Your Gradle distribution may have been tampered with.
Confirm that the 'distributionSha256Sum' property in your gradle-wrapper.properties file is correct and you are downloading the wrapper from a trusted source.

 Distribution Url: https://services.gradle.org/distributions/gradle-7.5-bin.zip
Download Location: /home/thilo/.gradle/wrapper/dists/gradle-7.5-bin/f1w0cc9nuo0eivz97x2xlu9sv/gradle-7.5-bin.zip
Expected checksum: 'de8f52ad49bdc759164f72439a3bf56ddb1589c4cde802d3cec7d6ad0e0ee410'
  Actual checksum: 'cb87f222c5585bd46838ad4db78463a5c5f3d336e5e2b98dc7c0c586527351c2'

I think the checksum in ProExpense/gradle/wrapper/gradle-wrapper.properties is not correct. Setting distributionSha256Sum=cb87f222c5585bd46838ad4db78463a5c5f3d336e5e2b98dc7c0c586527351c2 in that file fixd the error for me. I used the checksum from the official source https://services.gradle.org/distributions/gradle-7.5-bin.zip .