Android desugaring and reproducible builds

Marcus Hoffmann bubu at bubu1.eu
Tue Aug 10 12:33:34 UTC 2021


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


More information about the rb-general mailing list