I have some problems when i write "intent activity" in android studio 3

I’m new in kotlin and I don’t know how to write intent activity with Kotlin in android studio 3 , I write it like :

but stil have a probelm. please help me

I think you might want to use

startActivity(intent) instead of “startActivitys(intent)”

remove the ‘s’ at the end of startActivitys

1 Like

Thank you very much it worked :slight_smile: