Are you sure that the Java JDK is installed? Go here to get it if you
need to:

http://developer.apple.com/java/download/

It's a good idea to set JAVA_HOME in your .profile (or .bashrc) as
well as add $JAVA_HOME/bin and the Android SDK tools folder to your
PATH. Something like this:

export JAVA_HOME=/Library/Java/Home
export PATH=$PATH:$HOME/android-sdk-macos/tools:$JAVA_HOME/bin

[ I'm not exactly sure on that PATH since I'm not on my Mac at the
moment ]

- dave

On Mar 16, 5:16 pm, Xavier Ducrohet <x...@android.com> wrote:
> On Sun, Mar 14, 2010 at 7:09 PM, KE <power...@gmail.com> wrote:
> > Error: Unable to read AVDs
> > Error: /Users/kevinpowers/.android/ is not a directory! This is the
> > path of preference folder expected by the Android tools.
>
> It seems like the tools was unable to create .android in your home
> folder, and then everything breaks (because we probably don't properly
> handle this major but unlikely error).
>
> Do you know why it would fail to create the .android folder? Are you
> running the app with restricted priviledges?
>
> The Eclipse behavior is pretty standard. The same NPE exception is
> throw, Eclipse absorbs it and doesn't do anything.
>
> Xav
> --
> Xavier Ducrohet
> Android SDK Tech Lead
> Google Inc.
>
> Please do not send me questions directly. Thanks!

-- 
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en

Reply via email to