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>;
}