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!
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/ .
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).
It can happen sometimes. I use Avast antivirus and it happened to me too. You just have to:
Avast antivirus
icon, then click on Virus Chest
adb.exe
, then click on Restore and add to exclusions
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).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With