Raphael,

I'm installing from command-line using "SDK Setup.exe" but the same locking
problem still exists for me.

I just installed "Process Explorer" and monitored the process which is
locking "android-sdk-windows\temp\..." directory. While downloading the
package not even a single process has any lock on it. But while installing,
only "java.exe" keeps the lock once in a while (I pressed the "Search"
button many times quickly while installing, to have a live view of what's
going on). As an important note, after several retries I succeeded once to
download and install android-1.1!! I guess it may be a threading problem
because for the one I succeed I was pressing/repressing the "Search" button
quickly (on Process Explorer) and it kinda slowed down my computer a bit.
Just thought it may help!

And by the way I'm running JDK 1.6.0_12.

After all, I'm still on my opinion. In the case of failure, the update
process should try to COPY the contents instead of moving/renaming. And a
warning that some garbage have been left on "temp" directory. For those of
us on slow connections it's really a pain to download that much and throw it
away!!! I guess I've downloaded 500MB worth of data so far and still
trying...

Regards,
Armond 

> -----Original Message-----
> From: [email protected] [mailto:android-
> [email protected]] On Behalf Of Raphael
> Sent: Wednesday, October 28, 2009 9:55 PM
> To: [email protected]
> Subject: [android-developers] Re: Eclair install choked with errors about
> locks and died horribly leaving corrupted install
> 
> 
> Hey, do you still have the lock issue from Eclipse?
> 
> I could use a bit of help understand what's going on:
> - Install Process Explorer from
> http://technet.microsoft.com/en-us/sysinternals/bb896653.aspx
> - Run Process Explorer
> - Go to Find > Find Handle
> - Search for the one of the locked path, e.g. C:\android-sdk-windows-
> 1.6_r1\temp
> - Tell me which process is locking it.
> 
> That will help me a lot :-)
> R/
> 
> On Tue, Oct 27, 2009 at 2:31 PM, Jim Showalter
> <[email protected]> wrote:
> > Followed the instructions in
> > http://developer.android.com/sdk/adding-components.html for adding 2.0
> as
> > components to an existing 1.6 SDK, from within Eclipse.
> >
> > It didn't work. Not by a long shot. Instead, it got partway through and
> then
> > said that C:\android-sdk-windows-1.6_r1\
> > temp\DocPackage.new01 couldn't be copied because of a lock, and
> similarly
> > for PlatformPackage.new01.
> >
> > It said to shut down running programs, but the only program running was
> > Eclipse, which was needed to do the upgrade.
> >
> > The cancel button was disabled, and the close box didn't work. Shutting
> down
> > Eclipse killed it, but left C:\android-sdk-windows-1.6_r1 in a corrupted
> > state. Restarting Eclipse showed the Android projects with errors, no
> SDK,
> > and a disabled Android SDK and AVD Manager (which means no ability to
> rerun
> > the install).
> >
> > Shutting down Eclipse, renaming the corrupted SDK directory, unzipping
> 1.6
> > again into C:, and restarting Eclipse made it as if nothing had ever
> > happened, which is good. But it is not possible to complete the install
> from
> > Eclipse, which is bad.
> >
> > The dialog says:
> >
> > Failed to rename directory
> > C:\android-sdk-windows-1.6_r1\temp\DocPackage.new01 to
> > C:\android-sdk-windows-1.6_r1\docs
> > -= 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.) Please
> close
> > all running programs that may be locking the directory
> > 'C:\android-sdk-windows-1.6_r1\temp\DocPackage.new01' and try again.
> >
> > Failed to rename directory
> > C:\android-sdk-windows-1.6_r1\temp\DocPackage.new01 to
> > C:\android-sdk-windows-1.6_r1\docs
> > -= 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.) Please
> close
> > all running programs that may be locking the directory
> > 'C:\android-sdk-windows-1.6_r1\temp\DocPackage.new01' and try again.
> > Installed: SDK Platform Android 2.0, API 5 (tools rev: 3)
> > >
> >
> 
> 

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to