build.gradle (Module: app)
apply plugin: \'com.android.application\' android { compileSdkVersion \'android-P\' buildToolsVersion \'27.0
I also had the same issue. I was using two different versions for android.arch.core library.So,fixing those versions helped me.Try to use one version throughout your application.Hope it helps someone.
Thanks