Skip to content
oandras.hu
Magyar nyelv
  • Home
  • Blog
  • Web
  • About me
oandras.hu
  • Home
  • Blog
  • Web
  • About me
Magyar nyelv

OkHttp with enabled R8 optimization | SIGSEV

If you enable the optimizations in R8 by using the proguard-android-optimize.txt, you might experience strange SIGSEV JIT crashes, caused by some large contants inlined into the -HostnamesCommonKt class.

To resolve the issue, use the following Proguard config snippet:

-keep,allowobfuscation class okhttp3.internal.idn.** {
    <fields>;
    <methods>;
}

Posted: 2025.12.01.

Category: android, howto

Tags:

András Oravecz 2025-12-01 2025-12-01

« Previous

GitHub
E-mail: info@oandras.hu
Tel.: +36303822495
RSS
© 2010 - 2025 oandras.hu