NaviRamyle
NaviRamyle

Reputation: 4007

Android Studio API Level warning not showing

I'm having trouble, there is no warning when I use methods above API Level 8

setCalendarViewShown(false);

Is just an example

Even if I build my app there's no error, I'll only encounter the error when the app reaches the unsupported method.

enter image description here

Upvotes: 7

Views: 1984

Answers (1)

NaviRamyle
NaviRamyle

Reputation: 4007

I just solve my problem

I just check the File > Settings > Inspections > Android Lint > "Calling new methods on older versions" because it's unchecked before

enter image description here

Upvotes: 7

Related Questions