Android Development which folders to exclude for windows defender?

≯℡__Kan透↙ 提交于 2020-12-29 09:06:30

问题


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?


回答1:


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
    



回答2:


I faced the same problem.

After a deep search i excluded these folders, and it worked perfect.



来源:https://stackoverflow.com/questions/52804031/android-development-which-folders-to-exclude-for-windows-defender

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!