distributionSha256Sum in gradle-wrapper.properties

In the past, it was required to specify distributionSha256Sum in gradle-wrapper.properties for Apps which are published at fdroid. However, Android Studio 3.5 does not like that:

ERROR: It is not supported to define distributionSha256Sum in gradle-wrapper.properties.
Please manually remove this property from all of included projects if applicable.
For more details, see https://github.com/gradle/gradle/issues/9361.

Remove distributionSha256Sum and sync project
Open Gradle wrapper properties

Can I remove it and fdroid still accepts the source code. Or should I remove it locally and not commit it to git? What is the long term solution for that?

meh, fake news :slight_smile:

Now, as far is I understand, the solution is to

  • keep the old gradle version
  • keep the checksum


  • update gradle
  • remove the checksum
  • not commit this to git

There is a third option:

  • update gradle
  • update checksum

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.