工具:
Android studio
方法:
点击fil--settings
选中inspections
点击Android lint
勾选一些需要检查的,在severity中对检查项为error的错误。
点击severity,可以选择等级进行修改