I recently decided to jump into some Android development in my spare time. Using Eclipse as my IDE, I already have most of the Android SDK environment set up on my machine. Using the Android SKD and AVD Manager, I decided to install a year’s worth of SDK updates.
Unfortunately, a few minutes after the update process started I ran into the error which said (in general terms): Failed to rename directory C:\Program Files\android-sdk-windows
The general advice to resolve this issue was to turn off/disable any Anti-Virus software running on your system. Unfortunately, this didn’t do much to resolve the issue.
In order to resolve this issue and get the updates going again, you have to close Eclipse and re-run it using Administrator privileges. This will give Eclipse and the associated Update tool enough privileges to move and rename things as it pleases