Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Lint: ignore library projects

I have a project which uses the ActionBarSherlock library. When I run Lint on my project, I get a lot of errors and warnings in ActionBarSherlock, which I don't care about.

How can I run Lint only on my project, not the libraries it uses? (Note: I am using the 'Check MyProject' option).

like image 820
nhaarman Avatar asked Jul 16 '12 15:07

nhaarman


1 Answers

I assume that you have ActionBarSherlock as a separate Android project in your workspace. If so, you can open the context menu on that project, use Properties -> Android -> Android Lint -> Ignore all.

Many preferences in Eclipse can be set for the whole workspace (using Window -> Preferences) and for single projects (as above), where the project preferences then override the workspace preferences for that specific project.

like image 182
Bananeweizen Avatar answered Nov 04 '22 08:11

Bananeweizen