When trying to upgrade Android SDK Tools to revision 16, I am getting the following error:
Failed to rename directory C:\\android-sdk-windows\\tools t
In addition to the instructions given here by William, make sure you first delete the temp folder in the sdk folder. If it already exists, sometimes even creating a copy of the tools folder does not work. Therefore: