Android的工作室 - 检查code - 排除生成的文件 [英] Android Studio - Inspect Code - Exclude generated files

查看:233
本文介绍了Android的工作室 - 检查code - 排除生成的文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有什么办法,如何排除Android生成的文件(或手动指定排除的文件夹),从分析 - >检查code

Is there any way, how to exclude android generated files (or manually specify excluded folders), from Analyze -> Inspect Code ?

推荐答案

我已经找到答案

排除的文件夹不会在账户中采取的 code分析

Excluded folders won't be taken in account for Code Analysis


  • 顶级元素上单击右键,然后转到打开模块设置

  • 有您列出一个模块中,选择正确的模块

  • 在右列中选择文件夹被排除在外,要么右键 - >排除按钮排除的文件树上面

  • 在左边的列从其他组中删除所有剩余引用排除的目录比排除的文件夹

  • Right-click on top-level element and go to Open Module Settings
  • There you have listed single modules, select correct module
  • In right column select folders to be excluded and either right click -> exclude or button exclude above the file tree
  • In left column remove all leftover references to excluded directories from other groups than Excluded Folders

这篇关于Android的工作室 - 检查code - 排除生成的文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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