While updating through Eclipse, if you get error:
Installing Android SDK Platform-tools, revision 9
Failed to rename directory
and warning:
-= warning! =- A folder failed to be renamed or 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. Please also close any running programs that may be accessing the android-installation-path/tools directory,
follow these steps:
- Close Eclipse and close all instances of windows explorer in which the\android-sdk-windows\tools folder was opened.
Copy tools directory to some other tools_copy directory. Run android.bat from there. After update is over delete temp_tools directory (kill adb.exe if not able to delete the folder)
you can also try these (didn't work for me:()
- Close Eclipse and close all instances of windows explorer in which the\android-sdk-windows\tools folder was opened
- Now run the AVD Manager independently as follows:
- Open a command prompt
- Go to the directory where android SDK is installed at, and then its tools subdirectory
- Run android.bat
- At this point, update just as you would if you were running the AVD Manager from within Eclipse (make sure the proxy settings are mentioned if you are behind the proxy).