问题
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:
Example:%LOCALAPPDATA%\Google\<product><version>
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