Open IzzySoft opened 2 months ago
Also strange that the APK I've built from the tagged commit has several
*.so
files missing in the APK attached to the release.
Looks like the APK was built before the datastore-preferences downgrade in 25992318c4e0107f97f7e894c89f9de5524b33c9?
Yes, that's probably right. First I've built and released the APK and later built the AAB and encountered this problem: https://issuetracker.google.com/issues/342671895
Could you provide an APK built from a clean tree at the commit the latest tag points to? You can attach it to a comment here (simply rename it to *.zip
– please do not put the APK into another zip). Then we could check if we can reproduce that, or if there might be other issues. Thanks in advance!
I see there's a new release out, so I've tried it. But oh, what did you build that from? According to META-INF/version-control-info.textproto
from a commit with the hash 2ea3e91d2e3ed2f017b965401ba7659757d6afb2 – that doesn't even exist here. First basic rule from our above linked hints on reproducible builds: always build the APK from a clean tree at the commit the tag points to. So: no chance to make 1.7.1 RB unfortunately :cry: Can we hope for a follow-up release respecting that rule? :pray:
At IzzyOnDroid we support Reproducible Builds (see: Reproducible Builds, special client support and more in our repo). Trying for yours, I was able to successfully generate the APK using
./gradlew assembleRelease
, but the resulting APKs were not identical. Was that APK really built from a clean tree at the commit the tag points to? If so, did I miss some build options? And if not, which commit was it? The APK diff is rather huge, here's the "head" of it:Also strange that the APK I've built from the tagged commit has several
*.so
files missing in the APK attached to the release.We'd appreciate if you could help making your build reproducible. We've prepared some hints on reproducible builds for that.
Looking forward to your reply!
cc @obfusk