Problem with ADT for Eclipse

by rben » Sat, 16 Jan 2010 09:54:36 GMT


Sponsored Links
 After deleting a phone I had created in the emulator, I can no longer
get my Android application to run from Eclipse. Usually I can tease
out a way to fix stuff from error messages, but this time I'm stumped.
When I try to run I get the following error:

java.lang.NullPointerException
        at
com.android.ide.eclipse.adt.internal.launch.AndroidLaunchController.launch
(Unknown Source)
        at
com.android.ide.eclipse.adt.internal.launch.LaunchConfigDelegate.doLaunch
(Unknown Source)
        at
com.android.ide.eclipse.adt.internal.launch.LaunchConfigDelegate.launch
(Unknown Source)
        at org.eclipse.debug.internal.core.LaunchConfiguration.launch
(LaunchConfiguration.java:853)
        at org.eclipse.debug.internal.core.LaunchConfiguration.launch
(LaunchConfiguration.java:703)
        at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch
(DebugUIPlugin.java:866)
        at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run
(DebugUIPlugin.java:1069)
        at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)


Any suggestions? This has brought my work to a halt.



Problem with ADT for Eclipse

by rben » Sat, 16 Jan 2010 11:56:38 GMT


 Ok, I finally got it running, by creating a new project and importing
all the source. More
fun than I deserve.



> Any suggestions? This has brought my work to a halt.


Sponsored Links


Other Threads

1. Droid Incredible Not Returning Valid DeviceID?

I'm surprised nobody else is getting this problem.  Maybe I'm the only
one using the Device ID or the only one alerting users if it can't
find it...




-- 

2. Virtual keyboard covering EditText

When positioning an EditText at the bottom of the screen with
LinearLayout, the virtual keyboard is appearing over the EditText...
as if the activity window is not being panned enough. The amount of
covering appears to be related to the target device's resolution. With
HVGA, the keyboard will cover the bottom ~20% or so. With WVGA854 the
EditText will be completely covered.

The following layout demonstrates the issue...

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/
android"
    android:orientation="vertical"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent">
    <TextView
        android:layout_width="fill_parent"
        android:layout_height="fill_parent"
        android:layout_weight="1"
        android:text="@string/hello"/>
    <EditText
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:layout_weight="0" />
</LinearLayout>

Its gotta be something basic, but I'm stumped.

-- 

3. Zixng web intent

4. Emulator kills sounds on Mac OS X

5. Still trying to get my head around permissions - can anybody help?

6. Android Tutorials

7. Is there a "dev tools" for real device?