Android的皮棉报告只是我的项目,不包括库项目?
我如何运行Android林特所以只报告了我的项目模块,而忽略我使用任何图书馆的项目?甚至当我的目标林特在我的项目的模块,它喷出了问题清单中,我不感兴趣,在库项目 - 我想集中精力在自己的code修复问题
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.
如果您使用的是Eclipse,去图书馆项目的属性(右键点击项目 - >属性)和机器人林特preferences下,单击全部忽略,比确定。
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.