reactormonk
06/03/2024, 8:49 PMFrank Bouwens
06/03/2024, 9:11 PMDebug agent and Android
Android runtime does not support Instrument API necessary for kotlinx-coroutines-debug to function, triggering java.lang.NoClassDefFoundError: Failed resolution of: Ljava/lang/management/ManagementFactory;, and it is not possible to use coroutine debugger along with Android emulator.
So seems it doesn’t work on Android;
Maybe you can run the relevant code on the PC instead?
For example using unit testing;
Good luck!reactormonk
06/03/2024, 9:32 PM