Android desugaring and reproducible builds

Hans-Christoph Steiner hans at guardianproject.info
Tue Aug 10 12:36:55 UTC 2021


Hey Marcus,

This is the only documentation of that issue that I know about:
https://github.com/TeamNewPipe/NewPipe/issues/6486

Is this maybe related?
https://issuetracker.google.com/issues/189498001

.hc

Marcus Hoffmann via rb-general:
> Hi,
> 
> I was wondering if anyone got experience with reproducible builds for Android 
> apps that use the desugaring technique[1].
> 
> We are forced to turn this on for our app as we need to use a library that makes 
> use of the "new" java 8 time APIs but as soon as we do that the resulting apks 
> more or less change completely from build to build:
> 
> A sample of apks and diff output can be found in this diffoscope issue: 
> https://salsa.debian.org/reproducible-builds/diffoscope/-/issues/272
> 
> And yet I've not found anything online or in googles issue tracker that talks 
> about the desugarer being incompatible with reproducible builds. Which I'd hoped 
> would be something someone else noticed if this was a general problem.
> 
> Anyone got any ideas here?
> 
> Best,
> Marcus
> 
> 
> [1] https://developer.android.com/studio/write/java8-support-table

-- 
PGP fingerprint: EE66 20C7 136B 0D2C 456C  0A4D E9E2 8DEA 00AA 5556
https://pgp.mit.edu/pks/lookup?op=vindex&search=0xE9E28DEA00AA5556


More information about the rb-general mailing list