Open Lingviston opened 3 years ago
I'm not sure that I can help here, these seems like a dexguard issue?
I could track down that crash is happening inside of the Glide + OkHttp integration after OkHttp library update. It is certainly caused by Dexguard, but I wonder: what within that integration could cause the crash after the update? The only significant change within OkHttp 4.9.0, which I could find, is Kotlin SAM usage. If you have any ideas regarding the cause I'd love to hear them. Or maybe somebody from the community can help. But agree that you most likely don't need to "fix" anything within the Glide.
4.12.0:
OkHttp3:
x86_64 emulator SDK 29:
Upgrade OkHttp from 4.8.1 to 4.9.0. Obfuscate the build - we use Dexguard 8.7.09. Run it. On the first attempt to load image our app just stops responding to any input. In the LogCat I observe the exception (see below). Downgrading okHttp to 4.8.1, disabling obfuscation or removing okHttp integration and switching to HURL stack fixes the issue.
Glide.with(context) .load(imageUri) .into(target);
Stack trace / LogCat: