Closed NiLuJe closed 2 years ago
The unfortunate chain of events is:
Here we are. Maybe for 200kb doesn't worth the hussle and we can get rid of multidex + desugaring?
In any case, LGTM
2. Enabled D8 to save a few KBs a few months later 3. D8 requires a "desugaring" library. 4. The desugaring library requires multidex support.
Here we are. Maybe for 200kb doesn't worth the hussle and we can get rid of multidex + desugaring?
I have no clue what any of these things are ;o).
I have no clue what any of these things are ;o).
Me too.
But I know what they do: magic to strip a few kb out of the apk.
After a quick skim of various opensource apps I think we're fine with this PR alone
could you remove instead of comment?
The
MultiDexApplication
stuff changed in ABI 21+, which breaks if we use minSdk 21...But, apparently, we can build with an NDKABI > minSdk, so, do that ;p.
(c.f., https://github.com/koreader/koreader/issues/9632#issuecomment-1280781035)
This change is