Why the following error occured
Why the following error occurred in my Kotlin program whereas I did the same as you did in the tutorial.
Android-app-using-Kotlin Getting-started-with-Hello-World-app 10-11 min 20-30 sec
Go through this link for more information:
Follow exactly each and every step as specified in the tutorial. Otherwise create a new project and repeat the steps.
If you click on the red bulb icon on the code line with the issue, Android Studio has several suggestions to resolve the error, one of them helps you to import the dependency automatically.
Please make sure that you add the id 'kotlin-android-extensions' line on the build.gradle file that’s inside your app module.