android代码审查工具---lint工具的使用


转载请著名出处:http://blog.csdn.net/lijunhuayc



搞了这么久android我居然不知道lint工具是干啥的,虽然每次在eclipse下右键项目android tools下面都能看到它,我却木有去瞧瞧她能干嘛~作为一枚android搬砖人,我感到羞愧啊~~~~~

好吧,既然没用过,那几天看到这玩意儿,知道她能干啥了,那么就来现场调戏她一番再说~

你想调戏她么?跟着我来吧,绝对新手级别现场表演~

先来看看谷歌是如何说的:

The Android lint tool is a static code analysis tool that checks your Android project source files for potential bugs and optimization improvements for correctness, security, performance, usability, accessibility, and internationalization.

In Android Studio, the configured lint and other IDE inspections run automatically whenever you compile your program. You can also manually run inspections in Android Studio by selecting Analyze > Inspect Code from the application or right-click menu. The Specify Inspections Scope dialog appears so you can specify the desired inspection profile and scope.

大体意思就是lint工具可以从各个方面checks你的项目潜在的bug等等。在你编译运行的时候它会自动运行。你也可以手动分析程序。(一下就暴露了我是英语渣渣~~~以后不能装逼了~~)

具体详细的可以看这里:

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值