Android的皮棉报告只是我的项目,不包括库项目? [英] Android Lint report for my project only, excluding library projects?

查看:126
本文介绍了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.

这篇关于Android的皮棉报告只是我的项目,不包括库项目?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆