[android-developers] Re: Android SDK not working on Windows 7

2009-11-03 Thread hoss spence
Actually I just tried it and it worked.
The only thing I can think of was that I rebooted and perhaps that
fixed something environmental.
I looked more closely and Edo's original problem and realize I had a
different issue anyway . Mine was looking for some resource that it
couldn't find.
My apologies for being misleading.

-- 
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: Android SDK not working on Windows 7

2009-11-03 Thread hoss spence
Hi,

  I get my first name back (which is how I log in and appended to
\Users\ gives me my real login directory ). That seems valid. Also
  public static void main(String[] args) {
 System.getProperties().list(System.out);
}
comes up with reasonable stuff. I intend to try and debug this over
the weekend.

Worse comes to worse I can Jad the jar file classes and run it through
the Eclipse debugger to see what's going on.


On Nov 3, 10:58 am, jotobjects jotobje...@gmail.com wrote:
 Hoss - what happens if you type echo %USERNAME% and echo
 %USERPROFILE% in a command window?

 On Nov 3, 2:08 am, Edo Noordhuizen edo.noordhui...@gmail.com wrote:

  Hi!

  I contacted my pc manufacturer about the issue, they weren't any help.
  I am sure though that the cause of the issue has something to do with
  preinstalled windows 7 versions!
  I don't know where the problem really lies, maybe Java reads the wrong
  registry key or those preinstalled windows 7 versions fill the wrong
  keys or something I don't know.

  I finally just installed windows 7 from a retail DVD.. this fixed the 
  problem.

  Thank you all for your help in figuring this out
  Hoss, good luck I hope you reach a solution soon, because it is a
  frustrating problem!

  With kind regards,
  Edo Noordhuizen

  On Mon, Nov 2, 2009 at 4:20 AM, hoss spence bendaka...@gmail.com wrote:
   I also just upgraded from Vista to Windows7 and have the exact same
   problem. Please post if you come up with a solution.

   On Oct 31, 12:05 am, Robert Green rbgrn@gmail.com wrote:
   I used to run Eclipse 3.4 / Java 1.6 / Android SDK 1.0,1.1,1.5,1.6 on
   Vista 64 but recently did a clean install of Windows 7.

   Now I'm running Eclipse 3.4 / Java 32 and 64 1.6 / Android SDK 1.5-2.0
   on Windows 7 Professional x64 without any problems.

   Windows 7 seems to handle everything exactly the same way vista did.
   It is a derivative of Vista, after all.

   Edo, I'd say your problem is more with your specific environment or
   configuration than it is with Windows 7.  Consider wiping all of your
   java installation stuff and environment variables and reinstalling
   java to get it clean.  I didn't set any special environment variables
   for anything anywhere.

   In fact, all I did was dump eclipse on, drop the SDK into c:
   \Android_SDK and install ADT.  Everything worked first try - but it
   was a totally clean installation.

   On Oct 30, 3:41 pm, Edo Noordhuizen edo.noordhui...@gmail.com wrote:

I've ran the line and found the user.home property is set to
C:\Users\PARA ... there is no user named PARA on my system.
I've quickly searched through the registry, and all I can think of
right now is that PARA are the first 4 letters of the computer
manufacturer??.. I'll be doing some more searching later tonight..
Thanks a lot for your help!

With kind regards,
Edo Noordhuizen

On Fri, Oct 30, 2009 at 9:20 PM, jotobjects jotobje...@gmail.com 
wrote:

 That's weird if Windows 7 does this in a new way. You need to know
 where the Java system property user.home is because that is the
 default location for your AVD images.

 This one line program will list the properties -

    public static void main(String[] args) {
         System.getProperties().list(System.out);
    }

 On Oct 29, 3:30 pm, Edo Noordhuizen edo.noordhui...@gmail.com 
 wrote:
 I have ran all apps as administrator, this didn't solve my problem..
 My guess is the problem has something to do with the user.home
 property, but I'm not sure..

 Thanks,
 Edo

 On Thu, Oct 29, 2009 at 10:56 PM, Wayne Wenthin wa...@fuligin.com 
 wrote:
  Run it with elevated permissions?   It needs to write to the 
  drive so you
  may need to run any install as administrator.  Same with any 
  command
  prompts.

  On Thu, Oct 29, 2009 at 12:21 PM, Edo Noordhuizen
  edo.noordhui...@gmail.com wrote:

  Hi,

  I have a problem getting the Android SDK to work on my new 
  Windows 7
  computer.
  The ADT plugin in Eclipse will not open, when I run SDK 
  setup.exe I do
  get a window, but settings wont get saved, and the app 
  disappears when
  I click 'New' in the virtual devices pane.. When I run 
  android.bat
  from a command prompt I get the following error:
  ---snip---
  Error: Unable to read AVDs
  Error: Unable to get the home directory. Make sure the user.home
  property is set up
  Error: Unable to get the home directory. Make sure the user.home
  property is set up
  com.android.prefs.AndroidLocation$AndroidLocationException: 
  Unable to
  get the home directory. Make sure the user.home property is set 
  up
  ---snip---
  I have a dutch install of windows 7 where the users directory is 
  named
  differently, and already tried to change the HOMEPATH, APPDATA

[android-developers] Re: Android SDK not working on Windows 7

2009-11-02 Thread hoss spence
I also just upgraded from Vista to Windows7 and have the exact same
problem. Please post if you come up with a solution.

On Oct 31, 12:05 am, Robert Green rbgrn@gmail.com wrote:
 I used to run Eclipse 3.4 / Java 1.6 / Android SDK 1.0,1.1,1.5,1.6 on
 Vista 64 but recently did a clean install of Windows 7.

 Now I'm running Eclipse 3.4 / Java 32 and 64 1.6 / Android SDK 1.5-2.0
 on Windows 7 Professional x64 without any problems.

 Windows 7 seems to handle everything exactly the same way vista did.
 It is a derivative of Vista, after all.

 Edo, I'd say your problem is more with your specific environment or
 configuration than it is with Windows 7.  Consider wiping all of your
 java installation stuff and environment variables and reinstalling
 java to get it clean.  I didn't set any special environment variables
 for anything anywhere.

 In fact, all I did was dump eclipse on, drop the SDK into c:
 \Android_SDK and install ADT.  Everything worked first try - but it
 was a totally clean installation.

 On Oct 30, 3:41 pm, Edo Noordhuizen edo.noordhui...@gmail.com wrote:

  I've ran the line and found the user.home property is set to
  C:\Users\PARA ... there is no user named PARA on my system.
  I've quickly searched through the registry, and all I can think of
  right now is that PARA are the first 4 letters of the computer
  manufacturer??.. I'll be doing some more searching later tonight..
  Thanks a lot for your help!

  With kind regards,
  Edo Noordhuizen

  On Fri, Oct 30, 2009 at 9:20 PM, jotobjects jotobje...@gmail.com wrote:

   That's weird if Windows 7 does this in a new way. You need to know
   where the Java system property user.home is because that is the
   default location for your AVD images.

   This one line program will list the properties -

      public static void main(String[] args) {
           System.getProperties().list(System.out);
      }

   On Oct 29, 3:30 pm, Edo Noordhuizen edo.noordhui...@gmail.com wrote:
   I have ran all apps as administrator, this didn't solve my problem..
   My guess is the problem has something to do with the user.home
   property, but I'm not sure..

   Thanks,
   Edo

   On Thu, Oct 29, 2009 at 10:56 PM, Wayne Wenthin wa...@fuligin.com 
   wrote:
Run it with elevated permissions?   It needs to write to the drive so 
you
may need to run any install as administrator.  Same with any command
prompts.

On Thu, Oct 29, 2009 at 12:21 PM, Edo Noordhuizen
edo.noordhui...@gmail.com wrote:

Hi,

I have a problem getting the Android SDK to work on my new Windows 7
computer.
The ADT plugin in Eclipse will not open, when I run SDK setup.exe I do
get a window, but settings wont get saved, and the app disappears when
I click 'New' in the virtual devices pane.. When I run android.bat
from a command prompt I get the following error:
---snip---
Error: Unable to read AVDs
Error: Unable to get the home directory. Make sure the user.home
property is set up
Error: Unable to get the home directory. Make sure the user.home
property is set up
com.android.prefs.AndroidLocation$AndroidLocationException: Unable to
get the home directory. Make sure the user.home property is set up
---snip---
I have a dutch install of windows 7 where the users directory is named
differently, and already tried to change the HOMEPATH, APPDATA,
LOCALAPPDATA,  and USERPROFILE paths in the registry to the dutch
version of the directory..which didn´t work either..

Does anybody have any suggestions? Or a solution perhaps?

Thanks,
Edo

Eclipse version: GALILEO (Eclipse IDE for Java Developers Build id:
20090920-1017)
Android SDK version: Android sdk r3 windows (I tried previous sdk
versions.. same problem)
Windows 7 Home Premium ..

--
Writing code is one of few things
that teaches me I don't know everything.

   http://www.fuligin.com

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