WindowsAntivirus software causesAndroid StudioThe problem of taking too long to build a project

Your anti-virus program might be impacting your build performance. Android Studio checked the following directories: C: \ Users \ ChangBao \. Gradle C: \ Users \ ChangBao \ AppData \ Local \ Google \ AndroidStudio4.2 C: \ fastwork \ android SDK C:\fastwork\Project\android\ando-repo Don't show again Don't show again for this project DetailsCopy the code

🌴 said

Your antivirus program may affect your build performance. Android Studio checks the following directories...Copy the code

🍎 Solution: Add these directories to the antivirus software whitelist.

Note: if you are using the Windows built-in Windows Security center (Windows Security) is adopted: stackoverflow.com/questions/5…

reference

On Windows optimization Android Studio performance developer.android.com/studio/intr…