It looks like adb.exe holds a lock to the problematic directory. When you start Eclipse, adb.exe is started. And when you kill adb.exe, Eclipse tries to start adb.exe again. After 11 tries, it is successful.
I did the manual install. When i start android.bat right now, it looks like all is fine. However, when i click on 'Available Packages', i get the message "Some packages were found but are not compatible updates." On Oct 27, 9:16 pm, Streets Of Boston <[email protected]> wrote: > I wish i could say that; i had only my Eclipse open and a few browser > windows...and still i got this message. > > On Oct 27, 9:05 pm, Xavier Ducrohet <[email protected]> wrote: > > > > > As long as you don't have a command prompt of a file explorer opened > > in the some folder of the SDK that you are updating, it should work > > from Eclipse. > > > Xav > > > On Tue, Oct 27, 2009 at 5:59 PM, Streets Of Boston > > > <[email protected]> wrote: > > > > It doesn't work under Eclipse either... same message as when using the > > > command prompt. > > > > I guess all Windows users should download from this directory and do > > > it 'manually'. > > > > On Oct 27, 8:49 pm, Xavier Ducrohet <[email protected]> wrote: > > >> That's correct. > > > >> Windows users who are not using eclipse, we recommend that you > > >> download the SDK package athttp://developer.android.com/sdk/index.html > > > >> This is basically only the tools folder, but it also includes a "SDK > > >> Setup.exe" at the top SDK folder which calls android.bat in update > > >> mode. This should fix the lock problem. > > > >> Xav > > > >> On Tue, Oct 27, 2009 at 5:44 PM, Streets Of Boston > > > >> <[email protected]> wrote: > > > >> > I have the same issue. > > > >> > I started android.bat from the command prompt. > > >> > Since android.bat is in the directory that is reported to be locked, > > >> > my command prompt is holding a lock to it when starting > > >> > android.bat.... not very handy... > > > >> > On Oct 27, 7:36 pm, Xavier Ducrohet <[email protected]> wrote: > > >> >> Hi, > > > >> >> the issue is with Windows putting locks on files/folders. For instance > > >> >> if you have a file explorer opened on the folder being updated (e.g. > > >> >> the docs folder), it'll prevent other programs from modifying the > > >> >> files/folders. > > > >> >> If you have problem using it from eclipse you can always use > > >> >> SDK/tools/android.bat which provide you with the same UI. > > > >> >> Which version of Eclipse are you using? I'll double-check that Eclipse > > >> >> doesn't open/lock some files in the documentation. > > > >> >> Xav > > > >> >> 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.htmlforadding2.0as > > >> >> > 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 belockingthe 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 belockingthe 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) > > > >> >> -- > > >> >> Xavier Ducrohet > > >> >> Android SDK Tech Lead > > >> >> Google Inc.- Hide quoted text - > > > >> >> - Show quoted text - > > > >> -- > > >> Xavier Ducrohet > > >> Android SDK Tech Lead > > >> Google Inc. > > > >> Please do not send me questions directly. Thanks!- Hide quoted text - > > > >> - Show quoted text - > > > -- > > Xavier Ducrohet > > Android SDK Tech Lead > > Google Inc. > > > Please do not send me questions directly. Thanks!- Hide quoted text - > > > - Show quoted text -- Hide quoted text - > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

