Don Rhummy
Don Rhummy

Reputation: 25870

How do i get Android Studio's Lint to alert me about calls that don't meet minSDK?

I have set the min sdk version in build.gradle as minSdkVersion 8 (I set it low so it was easy to find an API that wasn't added yet). but when I run Analyze->Inspect Code... it doesn't show the call to the above-8 API in the errors. How do I get this to work?

Upvotes: 1

Views: 79

Answers (1)

Don Rhummy
Don Rhummy

Reputation: 25870

I needed to sync the gradle changes. Then Lint sees the issues.

Upvotes: 1

Related Questions