Android SDK: %USERPROFILE%\AppData\Local\Android\SDK.Android Studio projects: %USERPROFILE%\AndroidStudioProjects.The following list shows the default location of each Android Studio directory that could be added as an exclusion from Windows Defender real-time scanning: You will then need to choose whether the exclusion you wish to add is a File, Folder, File type, or Process.Įxclusions to consider for Android development Scroll to the Exclusions heading and select Add or remove exclusions.Select Manage settings under Virus & threat protection settings.To add exclusions in the Windows Defender Security Center:
Winamp pro android settings how to#
How to add exclusions to Windows Defender You should always evaluate the risks that are associated with implementing exclusions, and only exclude files that you are confident are not malicious. To ensure that your computer is safe from malicious software, you should not completely disable real-time scanning or your Windows Defender antivirus software.ĭefining exclusions lowers the protection offered by Defender. With antivirus real-time scanning enabled, the build process will halt each time a new file is created while the antivirus scans that file.įortunately, Windows Defender has the capability to exclude files, project directories, or file types that you know to be secure from it's antivirus scanning process. However, Windows Defender's real-time protection will also dramatically slow file system access and build speed when developing Android apps.ĭuring the Android build process, many files are created on your computer. Windows Defender aims to keep your PC safe with built-in, real-time protection against viruses, ransomware, spyware, and other security threats. In Windows 10, version 1703 and later, the Windows Defender Antivirus app is part of Windows Security. This guide covers how to set up exclusions in your Windows Defender security settings in order to improve your build times when developing Android apps using a Windows machine.