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?
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
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.