How To Enable Lint Error In Android Studio For Message "Call Requires API Level 21 (current Min Is 16)"?
I have a method called setImageTintList() that requires min API to be 21. But, if I set my min API to 16 in gradle, the app still builds without any warning. Although there is a re
Solution 1:
It appears the Android's gradle plugin lint is not able to report invalid Android API calls as errors.
But you can use the gradle-animalsniffer-plugin to achieve the same.
Post a Comment for "How To Enable Lint Error In Android Studio For Message "Call Requires API Level 21 (current Min Is 16)"?"