Search code examples
androidandroid-lint

Android Lint report for my project only, excluding library projects?


How do I run Android Lint so it only reports on my project module, and ignores any library projects I'm using? Even when I aim Lint at my project's module, it spews out lists of issues in the library projects which I'm not interested in - I want to focus effort on fixing issues in my own code.

I can't see a parameter to specify whether it follows references to library projects or not, but maybe you can see how to do it.


Solution

  • If you are using Eclipse, go to the library project's properties (right click on project -> Properties) and under "Android Lint Preferences" click "Ignore All" and than OK.