Sunday, April 15, 2012

Problem updating the Android SDK in Eclipse

When updating the Android SDK from the Android SDK Manager in Eclipse you may encounter an error with the following message:

-= 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 directory 'C:\opt\android-sdk-windows-1.5_r3\tools'. When ready, press YES to try again.

Many forums suggests to disable the antivirus software and retry, but that didn't work for me. The solution turned out to be very simple. Close Eclipse, open a command prompt and navigate to the tools folder of your Android SDK, in my case C:\opt\android-sdk-windows-1.5_r3\tools. Then give the command:

android update sdk

The environment will now be updated.


  1. I sometimes have a hard time understanding Android structure cause its quite complicated but as time goes by I slowly understood its basic structure with the help of focused learning...

    liquor software

  2. Thank you very much!

  3. Thanks for sharing use interview questions on .Net technology. While preparing for my job interview, your article helped me a lot to sharpen my skills and do well in my interview. One of trainer from leading dot net training in Chennai suggests me about your site.

  4. Thanks for sharing informative article. Download Windows 7 ultimate for free from getintopc. It helps you to explore full functionality of windows operating system.

  5. Thank you for excellent article.Great information for new guy like antimalware service executable