I'm on an iMac, 10.6.2.
I've installed the Android SDK and Eclipse IDE for Java. Connected
Eclipse to the SDK. Installed all available packages.
BUT: When I hit the 'new' button in the SDK under 'Virtual Device',
the program crashes. I am getting some errors when I start the
program in terminal. This is what I'm left with after the crash:
------------------------
Starting Android SDK and AVD Manager
No command line parameters provided, launching UI.
See 'android --help' for operations from the command line.
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.
Error: /Users/kevinpowers/.android/ is not a directory! This is the
path of preference folder expected by the Android tools.
Error: Failed to load settings from 'null'
Error: /Users/kevinpowers/.android/ is not a directory! This is the
path of preference folder expected by the Android tools.
**[THE REST IS GENERATED AFTER THE CRASH]**
java.lang.NullPointerException
at
com.android.sdkuilib.internal.widgets.AvdCreationDialog.<init>(AvdCreationDialog.java:
180)
at
com.android.sdkuilib.internal.widgets.AvdSelector.onNew(AvdSelector.java:
820)
at com.android.sdkuilib.internal.widgets.AvdSelector.access
$100(AvdSelector.java:73)
at com.android.sdkuilib.internal.widgets.AvdSelector
$2.widgetSelected(AvdSelector.java:249)
at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source)
at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Display.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Widget.notifyListeners(Unknown Source)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)
at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
at
com.android.sdkuilib.internal.repository.UpdaterWindowImpl.open(UpdaterWindowImpl.java:
104)
at
com.android.sdkuilib.repository.UpdaterWindow.open(UpdaterWindow.java:
110)
at com.android.sdkmanager.Main.showMainWindow(Main.java:281)
at com.android.sdkmanager.Main.doAction(Main.java:247)
at com.android.sdkmanager.Main.run(Main.java:92)
at com.android.sdkmanager.Main.main(Main.java:81)
logout
[Process completed]
----------------------------------
Interestingly, in Eclipse, when I go to 'Window' > 'Android SDK and
and AVD Manager', nothing happens.
Any ideas? Am I missing a step? I've searched about as well as I know
how and I'm out of ideas.
Thanks for all of your help.
--
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
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en