Kotlin1.2.51, KAPT issue

I am very beginner in Kotlin. I am trying to set dagger with kapt compile. but whenever i do, Android studio builds stops & give error please select android sdk.

Can anyone please help me. how to resolve this problem?


Please try the suggestions listed here: How do I "select Android SDK" in Android Studio? - Stack Overflow

If it still doesn’t work can you please create an issue in http://kotl.in/issue and attach your sample project so we can try to reproduce this problem?