tags:

views:

37

answers:

1

Hello:

I'm completely frustrated with the Android SDK Manager.

I'm running Win 7 Home edition and have the SDK installed in its own top level directory on my D:\ drive.

When I run SDK Setup.exe from the command line (and I've even opened the prompt as an administrator), I get an error when trying to update the packages.

The SDK manager is telling me that I need to install the SDK Tools rev 7. But when I accept the license, I get an error message stating:

"A folder failed to be renamed or removed" yada yada yada. The Installing Archives window says "Failed to rename directory D:\android-sdk-windows\tools to D:\android-sdk-windows\temp\ToolPackage.old01."

I looked here for help:

http://groups.google.com/group/android-developers/browse_thread/thread/4b784f3eb1e096fd/ecadfb28ce5daf5f?lnk=gst&q=cannot+rename+folder#ecadfb28ce5daf5f

but the content there didn't help.

  1. I DO have my antivirus (AVG) disabled.

  2. I DO NOT have any other programs running -- just the command prompt to launch the SDK Manager.

  3. I have even given the everyone group, for the D:\android-sdk-windows\ folder, full control.

  4. I tried to rename the tools directory before starting the SDK Manager but then I get an error that a batch file cannot be found when I try to launch SDK Setup.exe. Grrrr.

None of this works.

Suggestions how to get the package to update without error are greatly appreciated.

Thanks!

A: 

You can't use 64 bit java or 64 bit eclipse. That's almost certainly your problem.

Falmarri
Yep. I'm on a 64 bit system.
Adam
Thanks for the reply. My apologies if I should have known that otherwise... but it wasn't listed here: http://developer.android.com/sdk/requirements.html
Adam
In fact, that requirements page states it is possible to use a 64 bit system. So I'm a little confused right now.
Adam
You can be on windows 64, that's fine. Just install the 32 bit version of java and eclipse. It's not well documented at all, I've just experienced this and seen it many times.
Falmarri