Search code examples
androidwindowssdkandroid-sdk-1.6limited-user

Huh? Android Preferences page refuses to load after adding SDK 1.6


This one is really weird. I had a perfectly working Eclipse + Android 2.2 SDK working in both Administrator account and LUA (Limited User Account) under Windows XP.

Then I decided to add the Android 1.6 SDK (I could do it from an Administrator account only). It seemed to have gone well, since it still works perfectly -- but only in that Administrator account!

When I try to start Eclipse under a LUA, I receive the following error message box:

alt text

Which disappears within 2-3 seconds and replaced with:

alt text

I then tried to check the Preferences page, but again, all I receive is error messages:

alt text

and:

alt text

Any idea why this is happening and how to fix this?

(I would love to be able to continue working from a LUA)

Update: I have uploaded the error log file (referred to in the "Show Error Log" in the message boxes), for your expert examination. Hopefully this can shed some light on the mystery.


Solution

  • Workaround found: Run Eclipse as Administrator (Right-click exe/shortcut, then select "Run as...", then enter Administrator's password).

    This is a workaround, not a solution, but it does allow me to continue working while logged in LUA.

    Thanks to @David who suggested this solution here: Android ADT Plugin doesn't show up in Eclipse

    Update: Solution found:

    1. Enable the Security tab in Windows XP Pro (""Use Simple File Sharing.")
    2. Add the LUA account to C:\eclipse with Modify permissions.

    That's it. No need to run Eclipse via "Run as". Also eliminates the need for a fresh install (which takes more time).