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

Reply via email to