[android-developers] Re: Eclair install choked with errors about locks and died horribly leaving corrupted install

2009-12-11 Thread havexz
i found the problem. The problem is with 1.6 sdk. 1.6sdk dont have
'SDK setup.exe' so the only way to update is to run 'android' command.
To run this you have to go to Tools folder and then you cant move as
it used by the android command..;-)

On Dec 7, 6:52 pm, havexz bali.param...@gmail.com wrote:
 I already have 1.6 and trying to update it using cmd andoird. I have
 the work around to solve this issue but that is not an elegant
 solution. You have to manually download the tools and there is not
 link for it so you have to extract that from the repository.xml..

 On 5 Dec, 04:42, QD b95505...@gmail.com wrote:

  First I rename the old tools folder to any name

  then I download the new packages with Android SDK,

  unzip the new tools folder and move to android-sdk folder

  then Setup.exe works well :D

  On Dec 5, 11:13 am, havexz bali.param...@gmail.com wrote:

   Downloading Android SDK Tools, revision 4
   Installing Android SDK Tools, revision 4
   Failed to rename directory E:\android-sdk\tools to E:\android-sdk\temp
   \ToolPackage.old01
   -= 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 'E:\android-sdk\tools' and try again.

   Still getting this error. Its really ANNOYING

   On Nov 27, 9:36 am, Nature Boy martin.belc...@gmail.com wrote:

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

I was having the same problem and disabling Norton Internet Security
solved it for me.

See http://groups.google.co.uk/group/android-developers/browse_thread/
thread/f22059d0885db766

On 11月5日, 午前4:07, ekwang ekwa...@gmail.com wrote:

 When I try to upgrade Android SDK Tools, revision 3, by SDK Setup.exe
 I meet same problem.
 I think it has obvious problem.
 Because SDK Setup.exe running with some files on /tools. (maybe
 android.bat and some lib files)
 So When SDK Setup try to rename old tools folder name after download
 complete, this issue is happen.
 Actually I checked java process handling /tools folder when SDK Setup
 running.

 On Oct 28, 6:31 am, Jim Showalter jamesleeshowal...@gmail.com wrote:

  Followed the instructions 
  inhttp://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 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 android-developers@googlegroups.com
To unsubscribe from this group, send email to

[android-developers] Re: Eclair install choked with errors about locks and died horribly leaving corrupted install

2009-12-07 Thread havexz
I already have 1.6 and trying to update it using cmd andoird. I have
the work around to solve this issue but that is not an elegant
solution. You have to manually download the tools and there is not
link for it so you have to extract that from the repository.xml..

On 5 Dec, 04:42, QD b95505...@gmail.com wrote:
 First I rename the old tools folder to any name

 then I download the new packages with Android SDK,

 unzip the new tools folder and move to android-sdk folder

 then Setup.exe works well :D

 On Dec 5, 11:13 am, havexz bali.param...@gmail.com wrote:

  Downloading Android SDK Tools, revision 4
  Installing Android SDK Tools, revision 4
  Failed to rename directory E:\android-sdk\tools to E:\android-sdk\temp
  \ToolPackage.old01
  -= 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 'E:\android-sdk\tools' and try again.

  Still getting this error. Its really ANNOYING

  On Nov 27, 9:36 am, Nature Boy martin.belc...@gmail.com wrote:

   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

   I was having the same problem and disabling Norton Internet Security
   solved it for me.

   See http://groups.google.co.uk/group/android-developers/browse_thread/
   thread/f22059d0885db766

   On 11月5日, 午前4:07, ekwang ekwa...@gmail.com wrote:

When I try to upgrade Android SDK Tools, revision 3, by SDK Setup.exe
I meet same problem.
I think it has obvious problem.
Because SDK Setup.exe running with some files on /tools. (maybe
android.bat and some lib files)
So When SDK Setup try to rename old tools folder name after download
complete, this issue is happen.
Actually I checked java process handling /tools folder when SDK Setup
running.

On Oct 28, 6:31 am, Jim Showalter jamesleeshowal...@gmail.com wrote:

 Followed the instructions 
 inhttp://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 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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Eclair install choked with errors about locks and died horribly leaving corrupted install

2009-12-06 Thread QD
First I rename the old tools folder to any name

then I download the new packages with Android SDK,

unzip the new tools folder and move to android-sdk folder

then Setup.exe works well :D

On Dec 5, 11:13 am, havexz bali.param...@gmail.com wrote:
 Downloading Android SDK Tools, revision 4
 Installing Android SDK Tools, revision 4
 Failed to rename directory E:\android-sdk\tools to E:\android-sdk\temp
 \ToolPackage.old01
 -= 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 'E:\android-sdk\tools' and try again.

 Still getting this error. Its really ANNOYING

 On Nov 27, 9:36 am, Nature Boy martin.belc...@gmail.com wrote:



  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

  I was having the same problem and disabling Norton Internet Security
  solved it for me.

  See http://groups.google.co.uk/group/android-developers/browse_thread/
  thread/f22059d0885db766

  On 11月5日, 午前4:07, ekwang ekwa...@gmail.com wrote:

   When I try to upgrade Android SDK Tools, revision 3, by SDK Setup.exe
   I meet same problem.
   I think it has obvious problem.
   Because SDK Setup.exe running with some files on /tools. (maybe
   android.bat and some lib files)
   So When SDK Setup try to rename old tools folder name after download
   complete, this issue is happen.
   Actually I checked java process handling /tools folder when SDK Setup
   running.

   On Oct 28, 6:31 am, Jim Showalter jamesleeshowal...@gmail.com wrote:

Followed the instructions 
inhttp://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 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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Eclair install choked with errors about locks and died horribly leaving corrupted install

2009-12-04 Thread havexz
Downloading Android SDK Tools, revision 4
Installing Android SDK Tools, revision 4
Failed to rename directory E:\android-sdk\tools to E:\android-sdk\temp
\ToolPackage.old01
-= 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 'E:\android-sdk\tools' and try again.

Still getting this error. Its really ANNOYING

On Nov 27, 9:36 am, Nature Boy martin.belc...@gmail.com wrote:
 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

 I was having the same problem and disabling Norton Internet Security
 solved it for me.

 See http://groups.google.co.uk/group/android-developers/browse_thread/
 thread/f22059d0885db766

 On 11月5日, 午前4:07, ekwang ekwa...@gmail.com wrote:

  When I try to upgrade Android SDK Tools, revision 3, by SDK Setup.exe
  I meet same problem.
  I think it has obvious problem.
  Because SDK Setup.exe running with some files on /tools. (maybe
  android.bat and some lib files)
  So When SDK Setup try to rename old tools folder name after download
  complete, this issue is happen.
  Actually I checked java process handling /tools folder when SDK Setup
  running.

  On Oct 28, 6:31 am, Jim Showalter jamesleeshowal...@gmail.com wrote:

   Followed the instructions 
   inhttp://developer.android.com/sdk/adding-components.htmlforadding2.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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Eclair install choked with errors about locks and died horribly leaving corrupted install

2009-11-28 Thread Nature Boy
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

I was having the same problem and disabling Norton Internet Security
solved it for me.

See http://groups.google.co.uk/group/android-developers/browse_thread/
thread/f22059d0885db766



On 11月5日, 午前4:07, ekwang ekwa...@gmail.com wrote:
 When I try to upgrade Android SDK Tools, revision 3, by SDK Setup.exe
 I meet same problem.
 I think it has obvious problem.
 Because SDK Setup.exe running with some files on /tools. (maybe
 android.bat and some lib files)
 So When SDK Setup try to rename old tools folder name after download
 complete, this issue is happen.
 Actually I checked java process handling /tools folder when SDK Setup
 running.

 On Oct 28, 6:31 am, Jim Showalter jamesleeshowal...@gmail.com wrote:

  Followed the instructions 
  inhttp://developer.android.com/sdk/adding-components.htmlforadding 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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Eclair install choked with errors about locks and died horribly leaving corrupted install

2009-11-22 Thread havexz
I am still unable to fix this. I am running Avast antivirus and tried
disabling it but still got the error. All other components are
installed except tools rev 3. Here is the error message:

--
Failed to rename directory E:\android-sdk\tools to E:\android-sdk\temp
\ToolPackage.old01
-= 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 'E:\android-sdk\tools' and try again.
--

Anyone knows how to fix it?


On Nov 14, 3:40 pm, Anglave tdmen...@gmail.com wrote:
 Skink and Armond,

 Thank you for the direct links!  Downloading using theSDKand AVD
 Manager, my download rate kept falling from 20 to 0 KiB/sec, and then
 stalling.

 You may also find that you 
 wanthttp://dl-ssl.google.com/android/repository/usb_driver_r02-windows.zip
 as well.

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Eclair install choked with errors about locks and died horribly leaving corrupted install

2009-11-15 Thread Anglave
Skink and Armond,

Thank you for the direct links!  Downloading using the SDK and AVD
Manager, my download rate kept falling from 20 to 0 KiB/sec, and then
stalling.

You may also find that you want
http://dl-ssl.google.com/android/repository/usb_driver_r02-windows.zip
as well.

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Eclair install choked with errors about locks and died horribly leaving corrupted install

2009-11-05 Thread Call Me Paul
Hello,

I am having the same issue, can someone post the steps to solve this?
I got v1.1 working on eclipse (still not sure why) for for the rest I
get the warning temp error.

Thanks!


On Nov 5, 12:07 am, ekwang ekwa...@gmail.com wrote:
 When I try to upgrade Android SDK Tools, revision 3, by SDK Setup.exe
 I meet same problem.
 I think it has obvious problem.
 Because SDK Setup.exe running with some files on /tools. (maybe
 android.bat and some lib files)
 So When SDK Setup try to rename old toolsfoldername after download
 complete, this issue is happen.
 Actually I checked java process handling /toolsfolderwhen SDK Setup
 running.

 On Oct 28, 6:31 am, Jim Showalter jamesleeshowal...@gmail.com wrote:

  Followed the instructions 
  inhttp://developer.android.com/sdk/adding-components.htmlforadding 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:

 Failedto rename directory
  C:\android-sdk-windows-1.6_r1\temp\DocPackage.new01 to
  C:\android-sdk-windows-1.6_r1\docs
  -= Warning ! =-
  Afolderfailedto berenamedormoved. On Windows this typically means that
  a program is using thatfolder(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.

 Failedto rename directory
  C:\android-sdk-windows-1.6_r1\temp\DocPackage.new01 to
  C:\android-sdk-windows-1.6_r1\docs
  -= Warning ! =-
  Afolderfailedto berenamedormoved. On Windows this typically means that
  a program is using thatfolder(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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Eclair install choked with errors about locks and died horribly leaving corrupted install

2009-11-05 Thread izam
Hi
I had the same problem with eclipse + vista home. Running android.bat
(double click from explorer) seems to work for me. Hope it helps.

On Nov 5, 11:07 am, ekwang ekwa...@gmail.com wrote:
 When I try to upgrade Android SDK Tools, revision 3, by SDK Setup.exe
 I meet same problem.
 I think it has obvious problem.
 Because SDK Setup.exe running with some files on /tools. (maybe
 android.bat and some lib files)
 So When SDK Setup try to rename old tools folder name after download
 complete, this issue is happen.
 Actually I checked java process handling /tools folder when SDK Setup
 running.

 On Oct 28, 6:31 am, Jim Showalter jamesleeshowal...@gmail.com wrote:

  Followed the instructions 
  inhttp://developer.android.com/sdk/adding-components.htmlforadding 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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Eclair install choked with errors about locks and died horribly leaving corrupted install

2009-11-05 Thread PHdP
I managed to avoid the folder lock problem by stopping Norton
Antivirus during installation. But I am still getting a SSL peer shut
down incorrectly error every time I try to install the 2.0 platform
and upgrade the 1.5 platform.

On Nov 2, 7:44 pm, Chuan Lee chuanv...@gmail.com wrote:
 I'm new to this group. Has anyone got an answer to the problem?
 I read through the posts and I can say I've tried most of the way I can
 think of.

 First of all, I'm pretty sure it's 'SDK Setup.exe' that is locking up the
 directory. So after it unpacks the platforms and addons to 'temp' directory,
 it can't move the subdirs under 'temp' to 'platforms' and 'add-ons'. I
 confirmed the lock because I couldn't delete any directory when 'SDK Setup'
 was running.

 Manually, you CAN move the subdirs under 'temp' yourself by following error
 log telling you failed to move directory from temp... to platforms
 The problem is the subdirs under 'temp' are empty directories. So your
 manual tasks will be done in vain. I tried 3 times!

 I tried to trick 'SDK Setup' by moving to Windows DeskTop. But it wouldn't
 run from there! Sigh.

 I tried to install it from eclipse. Same error.

 There must be an easier way to install the Android SDK 1.6 or 2.0. The
 previous versions that have pre-expanded directories work fine. So you just
 unzip the file and drap-and-drop the whole folder to wherever you want.

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Eclair install choked with errors about locks and died horribly leaving corrupted install

2009-11-05 Thread M.D.
so looking through the .xml you can manually find the download
locations for each file, example...
sdk:nameGoogle APIs/sdk:name
sdk:api-level4/sdk:api-level
sdk:vendorGoogle Inc./sdk:vendor
sdk:revision01/sdk:revision
sdk:descriptionAndroid + Google APIs/sdk:description
sdk:desc-urlhttp://d.android.com//sdk:desc-url
sdk:uses-license ref=android-sdk-license/
-
sdk:archives
-
sdk:archive os=any
sdk:size41858003/sdk:size
sdk:checksum type=sha1e687a15e70a96bcb5acc2f6a99af8791f9421804/
sdk:checksum
sdk:urlgoogle_apis-4-r01.zip/sdk:url

as you can see google_apis-4-r01.zip is what you put after http://
dl-ssl.google.com/android/repository/ if you want to download that
specific file, so the 1.6 SDK download for windows is

http://dl-ssl.google.com/android/repository/android-1.6_r01-windows.zip

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Eclair install choked with errors about locks and died horribly leaving corrupted install

2009-11-04 Thread ekwang
When I try to upgrade Android SDK Tools, revision 3, by SDK Setup.exe
I meet same problem.
I think it has obvious problem.
Because SDK Setup.exe running with some files on /tools. (maybe
android.bat and some lib files)
So When SDK Setup try to rename old tools folder name after download
complete, this issue is happen.
Actually I checked java process handling /tools folder when SDK Setup
running.

On Oct 28, 6:31 am, Jim Showalter jamesleeshowal...@gmail.com wrote:
 Followed the instructions 
 inhttp://developer.android.com/sdk/adding-components.htmlfor 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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Eclair install choked with errors about locks and died horribly leaving corrupted install

2009-11-02 Thread Chuan Lee
I'm new to this group. Has anyone got an answer to the problem?
I read through the posts and I can say I've tried most of the way I can
think of.

First of all, I'm pretty sure it's 'SDK Setup.exe' that is locking up the
directory. So after it unpacks the platforms and addons to 'temp' directory,
it can't move the subdirs under 'temp' to 'platforms' and 'add-ons'. I
confirmed the lock because I couldn't delete any directory when 'SDK Setup'
was running.

Manually, you CAN move the subdirs under 'temp' yourself by following error
log telling you failed to move directory from temp... to platforms
The problem is the subdirs under 'temp' are empty directories. So your
manual tasks will be done in vain. I tried 3 times!

I tried to trick 'SDK Setup' by moving to Windows DeskTop. But it wouldn't
run from there! Sigh.

I tried to install it from eclipse. Same error.

There must be an easier way to install the Android SDK 1.6 or 2.0. The
previous versions that have pre-expanded directories work fine. So you just
unzip the file and drap-and-drop the whole folder to wherever you want.

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: Eclair install choked with errors about locks and died horribly leaving corrupted install

2009-11-01 Thread Raphael
On Wed, Oct 28, 2009 at 11:25 PM, Armond Avanes armond...@yahoo.com wrote:
 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...

The problem with copying is that if a file can't be replaced in the
middle of the copy operation, what do you want the installer to do?
You'd be left with half installed platform mixing some old stuff and
new stuff. Or it'd have to throw away you old install (which might
fail because of a locked folder anyway).

As for the threading issue, I can't figure it out. It's a very
sequential mode of operation right now.

On your last point, you're right, I shouldn't throw away the download
right away if the download was successful yet the install failed. It
would be easy to allow you to retry installing right away.

Still I'd really like to know what can be locking that thing :(

R/

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


RE: [android-developers] Re: Eclair install choked with errors about locks and died horribly leaving corrupted install

2009-11-01 Thread Armond Avanes
Raphael,

The error message says that some files are locked in temp directory not in
destination. At least if you're doing a first-time install (not update), the
destination directory is empty and it's quite safe to copy.

Regards,
Armond

 From: Raphael [mailto:r...@android.com]
 Sent: Monday, November 02, 2009 8:57 AM
 
 On Wed, Oct 28, 2009 at 11:25 PM, Armond Avanes armond...@yahoo.com
 wrote:
  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...
 
 The problem with copying is that if a file can't be replaced in the
 middle of the copy operation, what do you want the installer to do?
 You'd be left with half installed platform mixing some old stuff and
 new stuff. Or it'd have to throw away you old install (which might
 fail because of a locked folder anyway).
 
 As for the threading issue, I can't figure it out. It's a very
 sequential mode of operation right now.
 
 On your last point, you're right, I shouldn't throw away the download
 right away if the download was successful yet the install failed. It
 would be easy to allow you to retry installing right away.
 
 Still I'd really like to know what can be locking that thing :(
 
 R/
 
 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Eclair install choked with errors about locks and died horribly leaving corrupted install

2009-10-29 Thread DanN


I was having the same issue:

Failed to rename directory
M:\android-sdk-windows\temp\DocPackage.new01 to
M:\android-sdk-windows\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
'M:\android-sdk-windows\temp\DocPackage.new01' and try again.


I turned off my internet security program (Kaspersky) and tried the
install again, and it worked without any problems.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Eclair install choked with errors about locks and died horribly leaving corrupted install

2009-10-29 Thread Armond Avanes

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: android-developers@googlegroups.com [mailto:android-
 develop...@googlegroups.com] On Behalf Of Raphael
 Sent: Wednesday, October 28, 2009 9:55 PM
 To: android-developers@googlegroups.com
 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
 jamesleeshowal...@gmail.com 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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Eclair install choked with errors about locks and died horribly leaving corrupted install

2009-10-29 Thread skink



On Oct 29, 8:25 am, Armond Avanes armond...@yahoo.com wrote:
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...



hi Armond,

you can manually download stuff from:

http://dl-ssl.google.com/android/repository/android-2.0_r01-windows.zip

and then unzip it to platforms folder

skink
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Eclair install choked with errors about locks and died horribly leaving corrupted install

2009-10-29 Thread Armond Avanes

Hi Skink,

I was trying to guess the correct path for direct download but no success!
Thanks a million :-) I'm downloading it...

For those who want Google API v5 as well, here it is:
http://dl-ssl.google.com/android/repository/google_apis-5_r01.zip

After all, it would be great if Google mentioned the direct download paths
on Android download page (for those having problem).

Skink, Thanks again :-)

Armond

 -Original Message-
 From: android-developers@googlegroups.com [mailto:android-
 develop...@googlegroups.com] On Behalf Of skink
 Sent: Thursday, October 29, 2009 11:19 AM
 
 On Oct 29, 8:25 am, Armond Avanes armond...@yahoo.com wrote:
 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...
 
 
 
 hi Armond,
 
 you can manually download stuff from:
 
 http://dl-ssl.google.com/android/repository/android-2.0_r01-windows.zip
 
 and then unzip it to platforms folder
 
 skink
 

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Eclair install choked with errors about locks and died horribly leaving corrupted install

2009-10-28 Thread Armond Avanes

Xavier,

I've downloaded the SDK package (v3) and have run both SDK Setup.exe and
android.bat (I'm on WinXP). But still the same problem... There are not
any open command-lines (but the one running the SDK tool itself) or
explorers!

Can't it be a bug?

Regards,
Armond 

 -Original Message-
 From: android-developers@googlegroups.com [mailto:android-
 develop...@googlegroups.com] On Behalf Of Xavier Ducrohet
 Sent: Wednesday, October 28, 2009 4:19 AM
 To: android-developers@googlegroups.com
 Subject: [android-developers] Re: Eclair install choked with errors about
 locks and died horribly leaving corrupted install
 
 
 That's correct.
 
 Windows users who are not using eclipse, we recommend that you
 download the SDK package at
 http://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
 flyingdutc...@gmail.com 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 x...@android.com 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
 
 
 
 
 
  jamesleeshowal...@gmail.com wrote:
   Followed the instructions in
  http://developer.android.com/sdk/adding-components.htmlfor 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 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!
 
 

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Eclair install choked with errors about locks and died horribly leaving corrupted install

2009-10-28 Thread Streets Of Boston

I had the same problem.
I decided to just unzip the contents of the SDK package - tools
directory only; you'll find the others are empty - into the the tools
directory of the Android SDKs used by Eclipse.

This did the trick for Eclipse. Although, i still see that weird
message when opening android.bat (see my earlier posts).

On Oct 28, 12:23 pm, Armond Avanes armond...@yahoo.com wrote:
 Xavier,

 I've downloaded the SDK package (v3) and have run both SDK Setup.exe and
 android.bat (I'm on WinXP). But still the same problem... There are not
 any open command-lines (but the one running the SDK tool itself) or
 explorers!

 Can't it be a bug?

 Regards,
 Armond



  -Original Message-
  From: android-developers@googlegroups.com [mailto:android-
  develop...@googlegroups.com] On Behalf Of Xavier Ducrohet
  Sent: Wednesday, October 28, 2009 4:19 AM
  To: android-developers@googlegroups.com
  Subject: [android-developers] Re: Eclair install choked with errors about
  locks and died horribly leaving corrupted install

  That's correct.

  Windows users who are not using eclipse, we recommend that you
  download the SDK package at
 http://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
  flyingdutc...@gmail.com 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 x...@android.com 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

   jamesleeshowal...@gmail.com wrote:
Followed the instructions in
   http://developer.android.com/sdk/adding-components.htmlforadding 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 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 -
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com

[android-developers] Re: Eclair install choked with errors about locks and died horribly leaving corrupted install

2009-10-28 Thread Raphael

On Tue, Oct 27, 2009 at 5:44 PM, Streets Of Boston
flyingdutc...@gmail.com 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...

Hmm you're right. I guess I could force the tool to close and delay
the installation later but that seems convoluted.

A simple workaround is to run tool\android.bat from the SDK directory.
IIRC that doesn't lock the directory.

R/

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Eclair install choked with errors about locks and died horribly leaving corrupted install

2009-10-27 Thread maennj

I suggest you download SDK Tools Rev3 manually and then install all
SDKs you want. I had a problem with in my Mac too. I deleted the whole
folder, downloaded a clean copy of sdk tools and then installed all
sdks from the manager

http://developer.android.com/sdk/download.html?v=android-sdk_r3-windows.zip

after extracting, run android.exe in tools folder then go to available
packages and install whatever you want. Don't forget to point to the
new folder in Eclipse ADT 0.9.4


On Oct 27, 5:31 pm, Jim Showalter jamesleeshowal...@gmail.com wrote:
 Followed the instructions 
 inhttp://developer.android.com/sdk/adding-components.htmlfor 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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Eclair install choked with errors about locks and died horribly leaving corrupted install

2009-10-27 Thread Arron

Everything worked for me and upgraded perfectly.  Much easier to
upgrade now.

On Oct 27, 2:35 pm, maennj maan.naj...@gmail.com wrote:
 I suggest you download SDK Tools Rev3 manually and then install all
 SDKs you want. I had a problem with in my Mac too. I deleted the whole
 folder, downloaded a clean copy of sdk tools and then installed all
 sdks from the manager

 http://developer.android.com/sdk/download.html?v=android-sdk_r3-windo...

 after extracting, run android.exe in tools folder then go to available
 packages and install whatever you want. Don't forget to point to the
 new folder in Eclipse ADT 0.9.4

 On Oct 27, 5:31 pm, Jim Showalter jamesleeshowal...@gmail.com wrote:



  Followed the instructions 
  inhttp://developer.android.com/sdk/adding-components.htmlforadding 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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Eclair install choked with errors about locks and died horribly leaving corrupted install

2009-10-27 Thread phxhawke

If you were looking at documentation for the SDK or had looked at it
with Eclipse that would have been a problem. If you have ANY projects
open, close them and open them back up after the upgrade.

On Oct 27, 2:31 pm, Jim Showalter jamesleeshowal...@gmail.com wrote:
 Followed the instructions 
 inhttp://developer.android.com/sdk/adding-components.htmlfor 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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Eclair install choked with errors about locks and died horribly leaving corrupted install

2009-10-27 Thread Xavier Ducrohet

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
jamesleeshowal...@gmail.com 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)
 




-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Eclair install choked with errors about locks and died horribly leaving corrupted install

2009-10-27 Thread Streets Of Boston

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 x...@android.com 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





 jamesleeshowal...@gmail.com wrote:
  Followed the instructions in
 http://developer.android.com/sdk/adding-components.htmlfor 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 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 -
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Eclair install choked with errors about locks and died horribly leaving corrupted install

2009-10-27 Thread Xavier Ducrohet

That's correct.

Windows users who are not using eclipse, we recommend that you
download the SDK package at
http://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
flyingdutc...@gmail.com 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 x...@android.com 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





 jamesleeshowal...@gmail.com wrote:
  Followed the instructions in
 http://developer.android.com/sdk/adding-components.htmlfor 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 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!

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Eclair install choked with errors about locks and died horribly leaving corrupted install

2009-10-27 Thread Streets Of Boston

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 x...@android.com 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





 flyingdutc...@gmail.com 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 x...@android.com 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

  jamesleeshowal...@gmail.com wrote:
   Followed the instructions in
  http://developer.android.com/sdk/adding-components.htmlforadding 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 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 -
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Eclair install choked with errors about locks and died horribly leaving corrupted install

2009-10-27 Thread Xavier Ducrohet

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
flyingdutc...@gmail.com 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 x...@android.com 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





 flyingdutc...@gmail.com 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 x...@android.com 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

  jamesleeshowal...@gmail.com wrote:
   Followed the instructions in
  http://developer.android.com/sdk/adding-components.htmlforadding 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 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!

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Eclair install choked with errors about locks and died horribly leaving corrupted install

2009-10-27 Thread Streets Of Boston

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 x...@android.com 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





 flyingdutc...@gmail.com 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 x...@android.com 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

  flyingdutc...@gmail.com 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 x...@android.com 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

   jamesleeshowal...@gmail.com wrote:
Followed the instructions in
   http://developer.android.com/sdk/adding-components.htmlforadding2.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 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 -
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: Eclair install choked with errors about locks and died horribly leaving corrupted install

2009-10-27 Thread Streets Of Boston

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 flyingdutc...@gmail.com 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 x...@android.com 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

  flyingdutc...@gmail.com 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 x...@android.com 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

   flyingdutc...@gmail.com 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 x...@android.com 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

jamesleeshowal...@gmail.com 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 -

   

[android-developers] Re: Eclair install choked with errors about locks and died horribly leaving corrupted install

2009-10-27 Thread Streets Of Boston

I still have this Some packaget ... updates message, but it does not
seem to affect anything negatively.

On Oct 27, 9:33 pm, Streets Of Boston flyingdutc...@gmail.com wrote:
 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 flyingdutc...@gmail.com 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 x...@android.com 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

   flyingdutc...@gmail.com 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 x...@android.com 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

flyingdutc...@gmail.com 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 x...@android.com 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

 jamesleeshowal...@gmail.com 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: 

[android-developers] Re: Eclair install choked with errors about locks and died horribly leaving corrupted install

2009-10-27 Thread Armond Avanes

I don't discuss the reason for failing, but won't it be better to try to
COPY the downloaded package instead of moving/renaming when it fails? This
is the minimum the upgrade tool should do... Downloading tens of MBs on a
slow connection then failing to move/rename is just a pain!

Armond


 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


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---