Gerardo Epitacio
Gerardo Epitacio
Check your dependencies, I was using (note **-core** at the end), as documentation says. `implementation "androidx.datastore:datastore-core:1.0.0-beta01"` **Using this dependency instead fixed my problem.** `implementation "androidx.datastore:datastore:1.0.0-beta01"` https://developer.android.com/jetpack/androidx/releases/datastore#declaring_dependencies
I made it work with Android Studio Artic Fox Canary 15 and gradle pluging 7.0.0-alpha15, hope it helps someone. Cheers.
If you changed the dependency from "-core" to the one with no "-core" make sure to sync the project, clear and rebuild. The configuration mentioned before is working for me....
I am wrong assuming that the intention when we use `mockk(relaxed = true)` is to avoid writing a default answer where every call is done?