21

I excluded the follwing folders in windows defender, but the "Antimalware Service executable" is still using a lot of cpu.

  • C:\Program Files\Android\Android Studio
  • C:\Users\ME\.android
  • C:\Users\ME\MyAndroidProjects
  • C:\Users\ME\AppData\local\Android

Which folder/file did I forget?

Robin Dijkhof
  • 18,665
  • 11
  • 65
  • 116
  • The question to me really seems: Do you want to exclude any *folders* at all? -> https://stackoverflow.com/q/65423768/321013 – Martin Ba Dec 23 '20 at 11:50

2 Answers2

31

This is now described in official documentation:

  • Gradle cache
    %USERPROFILE%\.gradle
    
  • Android Studio projects
    %USERPROFILE%\AndroidStudioProjects
    
  • Android SDK
    %USERPROFILE%\AppData\Local\Android\SDK
    
  • Android Studio system files
    Syntax:
    %LOCALAPPDATA%\Google\<product><version> 
    
    Example:
    C:\Users\YourUserName\AppData\Local\Google\AndroidStudio4.1
    
β.εηοιτ.βε
  • 33,893
  • 13
  • 69
  • 83
David Vávra
  • 18,446
  • 7
  • 48
  • 56
9

I faced the same problem.

After a deep search i excluded these folders, and it worked perfect. enter image description here

Badr At
  • 658
  • 7
  • 22