Android Studio project ignore by KIS antivirus

1.8k views Asked by At

I use Kaspersky Internet Security on my PC. Some time ago I started receiving such alert:

Your anti-virus program might be impacting your build performance. Android Studio checked the following directories: 
C:\Users\Andrew\.AndroidStudio3.5\system
D:\Android Development\jobnet-android
C:\Users\Andrew\.gradle
C:\Users\Andrew\AppData\Local\Android\Sdk

I have added these folders to antivirus ignore list but I still continue receiving this alert. Maybe I did smth wrong and I have to add these paths to some another lists. I also saw some questions and links like that. At every link which I saw all suggestions are connected with Windows Defender but I think that it is turned off. Maybe someone knows how to fix this alert?

3

There are 3 answers

2
Ariel On

If you have also Windows Defender on your PC you will need to add those folders to exceptions under:

"Windows Security->Virus and threat protection->Exclusions->Add or remove exclusions"

That worked for me and I also have a third party antivirus, ESET, but I think the process is the same for Kaspersky

1
eoinzy On

For anyone searching this that is using ESET: Setup -> Computer -> Real Time Protection -> Configure -> Process Exclusions

Add Android Studio in here.

I had this problem today and this seems to have fixed it so far.

0
Omphaloskopie On

My Kaspersky is in german, so the wording may not be accurate:

Settings -> 
Threats and Exclusions (it's the 3rd menu-item) ->
configure exclusions (next to thumbs-up symbol).

I entered all suggested directories and just excluded the component AMSI- 
protection for each. 

Although I don't have a real clue it seems to work (no warning / fast build). Feedback is appreciated!