2

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?

Edric
  • 24,639
  • 13
  • 81
  • 91
Andrew
  • 1,947
  • 2
  • 23
  • 61
  • I found this thread on Kaspersky forum: https://community.kaspersky.com/kaspersky-internet-security-13/your-anti-virus-program-might-have-impact-on-performance-of-android-studio-3367 it might help you – saeed foroughi Jan 17 '20 at 18:16
  • @saeed, I saw this thread and also did all things from this thread, but I still receive alert message :( – Andrew Jan 17 '20 at 18:17

3 Answers3

1

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.

eoinzy
  • 2,152
  • 4
  • 36
  • 67
1

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!

Omphaloskopie
  • 1,952
  • 1
  • 14
  • 24
-1

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

Ariel
  • 1,059
  • 2
  • 13
  • 22