Reputation: 58984
I want find all issues saying call requires some API level in whole project.
Call requires API level 21 (current min is 19): android.content.res.Resources#getDrawable
I could see its issue id is Issue id: NewApi
. But I can not find a inspection name for same. Basically I want run inspection by name to get all these issues.
Upvotes: 1
Views: 440
Reputation: 3101
its very Simple
Right click
over any class file.Analyze
and select Inspect Code
Whole Project
, Module App
or specific file.OK
it will generate the report, by this report you can find all locations of implementation.
Upvotes: 0
Reputation: 20346
You can find the name in Settings -> Inspections
(there is no filter by id, though)
In your case it's Calling new methods on older versions
.
Upvotes: 3