Marek Sebera Marek Sebera - 8 months ago 59
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 ?


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