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: https://stackoverflow.com/questions/34353220/android-studio-please-select-android-sdk

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?