Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Lint: How to suppress all warnings associated with support library?

I am trying to use Android Lint to keep my code running smoothly but since I'm using support-v7-appcompat, Lint returns an enormous, overflowing list of warnings. How can I suppress all of them so I can only see issues with my own app? In the Lint Overflow menu, there are options for "Check all Projects", "check android-support-v7-appcompat", and "check [myapp]" - but clicking [myapp] also shows a vast amount of errors regarding abc_ (support library) and trying to suppress them by selecting them and pressing "ignore in this project" doesn't work! As soon as I click "check [myapp]" again, the same lint errors show up.

I can only assume this isn't intended behavior of lint! What can I do to improve this?

Regards,

like image 338
Blake Avatar asked Nov 24 '13 15:11

Blake


1 Answers

You can find the option in the android lint menu:

Once "Skip Library Project Dependencies" is checked, that should skip appcompat lint warnings when you are checking your project

lint overflow menu

like image 190
tabjsina Avatar answered Sep 27 '22 19:09

tabjsina