On Wed, Oct 19, 2011 at 10:58 PM, Christopher Van Kirk <[email protected]> wrote: > I'm having a lot of trouble getting SDK 14 to install properly. Has anyone > seen this error before? I'm updating an SDK installation on a Win7 machine, > as administrator, into c:\android-sdk. It keeps failing to overwrite the SDK > manager, and then Eclipse later complains that I've got the wrong AVD > installed. The only process using that SDK manager.exe is the one actually > doing the update, so it suggests that the installer is stepping on itself. > > Installing Android SDK Tools, revision 14 > [post_tools_install.bat] Updating SDK Manager.exe > [post_tools_install.bat] 0 file(s) copied. > [post_tools_install.bat] Error: The process cannot access the file because > it is being used by another process. > [post_tools_install.bat] Updating AVD Manager.exe > [post_tools_install.bat] 1 file(s) copied. > Installed Android SDK Tools, revision 14 > > Any thoughts would be appreciated.
This is a known issue. I apologize that I didn't have time to fix it for 14. http://code.google.com/p/android/issues/detail?id=11989 You have 2 easy workarounds: - Open an Explorer on the SDK/tools folder and manually launch android.bat from there. => Sadly if you do that, the Explorer sometimes lock the tools folder, preventing it from being updated. So close the explorer after starting android.bat - Open a cmd.exe, cd to your SDK and type "tools\android.bat". => If you however cd into the SDK\tools directory and then type just "android.bat" from there, the cmd.exe will lock the tools directory, preventing it from updating. I've added an entry on https://sites.google.com/a/android.com/tools/knownissues Hope this helps R/ -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

