Daniele B02/28/2023, 5:31 PM
on Android, the app works without the need of adding the android-specific coroutine package on
on Desktop, it gives me this error:
what is the reason why on Android, the target specific package is not needed?
Module with the Main dispatcher is missing. Add dependency providing the Main dispatcher, e.g. 'kotlin-coroutine-android' and ensure it has the same version as 'kotlin-coroutine-core'
Alexander Pozdniakov02/28/2023, 5:49 PM
so you have it implicitly in the project. However this is not the case for the desktop part of a project.
Daniele B02/28/2023, 5:50 PM
franztesca02/28/2023, 11:47 PM