Mentioned issues (1)
R8 1.5 issue with Google play core library “ ) eussi etarapes a gnilif rof uoy knaht ,oslA |
Links (7)
“ :enil siht ,snaem hcihwhttps://github.com/JetBrains/kotlin/blob/master/libraries/stdlib/jvm/runtime/kotlin/jvm/internal/TypeIntrinsics.java#L342 is inlined to io.fabric's report generating routine. ”
“ ) hctam epyt tcerid eht gnittih erofeb ,nehT .1 ton ,0 sa tes si ytira taht was I ,<tini> puorg adbmal detareneg eht ni ,si eussi ehT .(tcejbO)ekovni ,noitcnuf adbmal a sah dna tnemugra eno stupni yllaretil hcihw ,1noitcnuF fo secnatsni elbaegrem gnitcelloc si `at` taht ,elpmaxe roF .ytira reporp a htiw rotcurtsnoc sti llac dna adbmaL niltok fo ssalc bus a sa ti enifed ew ,puorg adbmal a otni secnatsni XnoitcnuF s'niltoK egrem ew nehw ,raf os eussi eht dnatsrednu I sa raf sAhttps://github.com/JetBrains/kotlin/blob/master/libraries/stdlib/jvm/runtime/kotlin/jvm/internal/TypeIntrinsics.java#L264 ), it's matched with FunctionBase (a subtype of Lambda) first, and tried to retrieve the arity, where now at runtime that merged group returned a wrong arity. Manually over-writing that arity to the correct one made that type free from casting exceptions. (There are more lambda groups with wrong arities, so the report saw a similar cast exception with a different type.) ”
“ :(yaw tnereffid a ni) eussi eht ecudorper ot lufpleh yllaer s'tI .teppins edoc sa llew sa gniggol rof uoy knahThttps://r8-review.googlesource.com/c/r8/+/38840 (I'm glad I didn't reveal any code patterns from your app!) ”
“ :noitulos rehtona htiw pu emac I ,oS .rorre noisrevnoc citemhtira ro ,gnihctam nrettap dessim yllaretil ekil ,seussi rehto lareves ot enorp eb thgim gnihctam nrettap hcus taht dezilaer I ,revewoh ,retaL .uoy rof skrow ,4# tnemmoc ta hctap eht ni dedulcni ,dnuorakrow yraropmet ym taht raeh ot dalg osla s'ti ,xif eht gnidrageRhttps://r8-review.googlesource.com/c/r8/+/38900 Could you try it while it's under review? Here is another build.gradle setting to use that tentative fix: ”
“ ) 5.1 8R dna (00983/+/8r/c/moc.ecruoselgoog.weiver-8r//:sptth) retsam no dednal si xif ehThttps://r8-review.googlesource.com/c/r8/+/38920 ). Could you try R8 1.5.38? Thanks! ”