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


#1

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


#2

I think you might want to use

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

remove the ‘s’ at the end of startActivitys


#3

Thank you very much it worked :slight_smile: