SDK Manager: failed to install : Android Studio on Windows

Loading SDK information...

Refresh Sources:
    Fetched Add-ons List successfully
    Refresh Sources

Installing Archives:
    Preparing to install archives
    Installing Android SDK Tools, revision 23.0.5
    Failed to rename directory E:\android_sdk\tools to E:\android_sdk\temp\ToolPackage.old01.

SDK Manager: failed to install
  -= Warning ! =-
  A folder failed to be moved. On Windows this typically means that a program is using that folder (for example Windows Explorer or your anti-virus software.)
  Please momentarily deactivate your anti-virus software or close any running programs that may be accessing the directory 'E:\android_sdk\tools'.
  When ready, press YES to try again.
  Note: you can use --force to override to yes.
  [y/n] =>

Are you getting above error message while installing or updating Android Studio on your Windows Operating system (XP. 7, 8, 10) then to resolve it,

Resolution :
  1. Close Android Studio
  2. Go to the tools folder and delete it.
  3. Restart Android Studio again and you will not see any error (you will be asked for update again)
  4. Update the Tools and things should be fine.

You get this message while you were trying to update Android Studio because the tools folder was locked.

Update : 07/01/2015

This issue has been resolved in 1.0.2 update

If you get an error while running Android Studio try running the exe as Administrator i.e. right-click and Run as Administrator

Copyright © Code2care 2024 | Privacy Policy | About Us | Contact Us | Sitemap