Search code examples
androidandroid-version

Trying to update Android SDK


In trying to update my SDK to the latest, some things installed, but others* didn't.

*SDK Platform Android 4.0, API14, revision 3
Google APIs by Google Inc., Android API15 revision 1
Google APIs by Google Inc., Android API14 revision 2
Sources for Android SDK, API14, revision 1

I got this err msg:

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-= Warning ! =-
A folder failed to be moved. On Windows this typically means that a program is uing 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 'C:\Program Files (x86)\Android\android-sdk\platforms\android-14'. 
When ready, press YES to try again.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Even after manually stopping a McAfee service and MS Malware service (MS Security Essentials) via

Task Manager, I still got this err msg.

The error highlighted (in brick red) in the Android SDK Manager Log is:

Failed to rename C:\Program Files (x86)\Android\android-sdk\platforms\android-14 to C:\Program Files (x86)\Android\android-sdk\temp\PlatformPackage.old01.
  • Is this something I should do manually - would that allow the update to take place?

Solution

  • If you started the update from eclipse, it might help to exit eclipse, and go to your sdk/utils directory and start de SDKmanager from there. This worked for me after I got the same message today.