Openlib icon indicating copy to clipboard operation
Openlib copied to clipboard

F-Droid build failed

Open linsui opened this issue 1 year ago • 6 comments

https://gitlab.com/fdroid/checkupdates-bot-fdroiddata/-/jobs/8252325792

https://gitlab.com/fdroid/fdroiddata/-/merge_requests/16283

I thought this is because we enabled shrinkResources to remove the nonfree libs from flutter. Could you please take a look? Thanks!

linsui avatar Nov 02 '24 07:11 linsui

Hi @linsui, we need to have "shrinkResources = false" as the app uses a epub reader which requires it

dstark5 avatar Nov 02 '24 10:11 dstark5

Maybe this can be solved by proper proguard rules?

linsui avatar Nov 02 '24 16:11 linsui

I don't know but will look on it, so without shrink the app build won't be available in fdroid?

dstark5 avatar Nov 07 '24 18:11 dstark5

Yep, see https://gitlab.com/fdroid/fdroiddata/-/issues/2949 for more details. :)

linsui avatar Nov 07 '24 18:11 linsui

@linsui Thank you will look into it

dstark5 avatar Jan 12 '25 14:01 dstark5

I added this to fix it.

# Keep Joda-Time classes that reference org.joda.convert annotations
-keep class org.joda.time.** { *; }

# Keep the org.joda.convert annotations that are missing at runtime
-keep class org.joda.convert.** { *; }

# Suppress warnings about missing org.joda.convert classes
-dontwarn org.joda.convert.**

linsui avatar Jun 26 '25 08:06 linsui