Question

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).

Was it helpful?

Solution

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top