Erik
10/07/2020, 10:42 AMonCreate
I call DebugProbes.install()
. Running the app leads to an immediate crash about java.lang.NoClassDefFoundError: Failed resolution of: Lcom/google/android/gms/common/R$string
. 😞 (Note that I don't even need to call DebugProbes.install()
, so the issue lies elsewhere).
Has anybody got experience with debugging Android coroutine stacktraces in production, or any other tips on how to do this?gildor
10/07/2020, 11:06 AMUnfortunately, Android runtime does not support Instrument API necessary for kotlinx-coroutines-debug to function
gildor
10/07/2020, 11:07 AMErik
10/07/2020, 11:38 AMErik
10/07/2020, 11:39 AMErik
10/07/2020, 1:13 PMgildor
10/07/2020, 2:29 PMIt can be enabled either by setting system property DEBUG_PROPERTY_NAME
gildor
10/07/2020, 2:30 PMgildor
10/07/2020, 2:30 PMSystem.setProperty(DEBUG_PROPERTY_NAME, DEBUG_PROPERTY_VALUE_ON)
Erik
10/07/2020, 3:02 PM