title: Cannot access class CoroutineScope. Check module classpath
body: <p>I have a kotlin multiplatform project and have implemented a simple repository class in the common module to make an API call. I pass in the coroutine scope as an argument to be able to use the <code>viewModelScope</code> and defaults it to a scope defined in the common code (because of iOS). </p>
  
  <p>When calling the function from the android project Android Studio complains and says <code>Cannot access class 'kotlinx.coroutines.CoroutineScope'. Check your module classpath for missing or conflicting dependencies</code>, however, the project compiles just fine and runs as expected. So it seems like this is an IDE hickup. </p>
  
  <p>I found this issue on YouTrack: <a href="https://youtrack.jetbrains.com/issue/KT-24575" rel="nofollow noreferrer">https://youtrack.jetbrains.com/issue/KT-24575</a>
  Is it related? And how can I get rid of it?</p>