This issue occurs when the SDK 1.5 r2 is installed on Windows XP SP2
if the primary Windows account is not an Administrator.

The installation under the non-Admin user succeeded, but when I tried
to use the SDK I ran into several issues:
1) When I tried to update my 1.1 projects to 1.5 in Eclipse, I got a
warning about the debug.keystore file:
Error generating final archive: Unable to get debug signature key
2) I couldn't create and an Android Virtual Device (AVD) for the
Emulator.

Both of these issues are because the signature key and the AVD files
are stored in the folder C:\Documents and Settings\<user>\.android,
which is supposed to be created during the installation of the SDK.
However, as a regular user (not an admin) I don't have the privileges
to create this folder. It wasn't created during the installation. If I
install the SDK as an Admin user, the ".android" folder is created but
in the Administrator user's folder: C:\Documents and Settings
\Administrator. This doesn't fix the issue because the main user
doesn't have access to this folder.

SDK version 1.1 and prior didn't have this issue because they put the
files in question under C:\Documents and Settings\[user]\Local Settings
\Application Data\Android\SDK-<sdk number>. Non-admins have full
access to that folder.

The workaround is to login as administrator, create the C:\Documents
and Settings\<user>\.android for the main (non-admin) user and give
the main user full rights to the folder. Then login as the primary
(non-Admin) user and run the SDK install and upgrade the projects.

This seems to be a case of poor testing on the part of Google. It
works fine for most Windows users, who log in as Administrators -
which is the default on XP and (probably) on Vista, but not for those
downgrade the user to a non-Admin for security reasons. I hope future
releases of the SDK resolve this issue.

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