0

After my Anti Virus program deletes my adb.exe file out of the folder:

C:\Users\Moritz\AppData\Local\Android\Sdk\platform-tools

I can not run my Android projects, cause this file is missing.

I tried to copy this file back into this folder but the access is blocked by windows. I have admin rights. What can I do? Can Android Studio download this file again?

Cœur
  • 37,241
  • 25
  • 195
  • 267
Moritz
  • 139
  • 1
  • 10

1 Answers1

0

To make sure you don't encounter issues due to folder overwriting you may want to delete previous

{InstallationPath}\Android\Sdk\platform-tools

Open the SDK manager in the Android Studio , switch to SDK tools tab and and select/install the Android SDK Platform-tools.

Also, just to make sure antivirus doesn't mark that file again , you need to whitelist that entire folder with you antivirus system

For more details on installation/download refer to the answer here:- Error:Unable to locate adb within SDK in Android Studio

Harshil
  • 883
  • 1
  • 8
  • 25
  • It works but first I had to delete the C:\Users\Moritz\AppData\Local\Android\Sdk\platform-tools folder – Moritz Dec 29 '17 at 08:45