<Kotlin: Type mismatch: inferred type is android.a...
# stackoverflow
r
Kotlin: Type mismatch: inferred type is android.app.Instrumentation.ActivityResult! but androidx.activity.result.ActivityResult! was expected I'm pretty new to kolin. I am currently trying to start a activity for a result by using the registerForActivityResult API. I tried the method given by this post. But when I run it in the main activity it results in Type mismatch: inferred type is android.app.Instrumentation.ActivityResult! but androidx.activity.result.ActivityResult! was expected. This looks like a false linking of the ActivityResult but idk. My dependencies look...