Marek Sebera Marek Sebera - 1 year ago 138
Android Question

Android Studio - Inspect Code - Exclude generated files

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

Answer Source

I've found answer

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

Excluding folders

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download