Android api version check


is there any way to make android studio give me a warning if my project minSdk is lower than api version of the method i am calling?


Android Lint warnings are not supported now in Kotlin code.
We are working in order to support Lint checks in Kotlin, though it may take some time.