Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

AVG antivirus removed adb.exe

Tags:

android

sdk

adb

Avast antivirus in my system removed adb.exe from my platform-tools folder. I searched SO for the same problem and came to a conclusion that Avast antivirus is an evil for Android studio.

The question is that how do I reinstalled the adb.exe again? Where is the SDK zipped file so that I can unzip it again for obtaining adb again? Or will I have to download the whole SDK again?

Any positive comments will be appreciated!

like image 618
HarshitMadhav Avatar asked May 27 '17 17:05

HarshitMadhav


People also ask

Where can I find ADB exe?

adb is included in the Android SDK Platform-Tools package. You can download this package with the SDK Manager, which installs it at android_sdk /platform-tools/ .

Why does it say unable to locate ADB?

Case 2: If adb is presentThis generally occurs if the platform-tools are not installed properly. Reinstalling the platform tools might fix this problem. Open Android Studio, click SDK Manager in the toolbar or click Tools > SDK Manager, click SDK Tools, then uncheck Android-SDK Platform-Tools (as shown above).


2 Answers

It can happen sometimes. I use Avast antivirus and it happened to me too. You just have to:

  1. Right click on Avast antivirus icon, then click on Virus Chest

enter image description here

  1. Right click on adb.exe, then click on Restore and add to exclusions

enter image description here

  1. And it's done
like image 187
Ricardo Faria Avatar answered Sep 19 '22 19:09

Ricardo Faria


will I have to download the whole SDK again?

No

The question is that how do I reinstalled the adb.exe again?

Download platform-tools from official android site (which include adb, fastboot, and systrace) extract it and paste it in your SDK folder (replace content if asked).

like image 39
Pavneet_Singh Avatar answered Sep 22 '22 19:09

Pavneet_Singh