I am also having same problem. I will try first from out side the eclipse if not then will try to process explorer to release the file handle. Thanks,
On May 26, 11:23 am, Jason <[email protected]> wrote: > Hi all, > > I recently bumped into a problem installing the latest SDK update (r6) > in eclipse on Windows (7), which I ultimately "solved" and thought I > would share. > > During the update of the SDK, the update process was trying to rename > a folder (C:\...\android-sdk-windows\platforms\android-1.6) but failed > to do so claiming that the folder was locked by another process. > > The alert window that popped up advised that on Windows this is often > due to Anti Virus software monitoring the file system (or some such > message). After dutifully disabling my local AV I still got the > error. This prevents you from continuing with the installation and > for fear of ending up with a half finished install I thought I would > track down the culprit. > > I used ProcessExplorer (http://technet.microsoft.com/en-us/ > sysinternals/bb896653.aspx) to find the file handle (in Process > Explorer go to Find->File Handle or DLL... and type in the folder > name, e.g. android-1.6). ProcessExplorer found two file handles, both > of which were eclipse itself! > > In my case, I had ProcessExplorer force-close the handle(s), which is > generally not a good idea but in this case it worked and the install > was able to complete. I had some confidence that closing the handle > would be ok because it seemed eclipse had a grip on a JAR file within > this path, which would make some sense. > > I think in future it would be best to run the update outside of > eclipse (ie launch the AVD manager directly), and indeed this may be > in the guides for installing updates but I didn't check before I > started the process. > > Just thought someone else may benefit from this... > > Cheers, > > Jason. -- 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

