android app wont launch in my device

236 views Asked by At

I am having a Sony Xperia SP and i want to test the app against the device. Everything is perfect, got the adb installed and eclipse shows the device in the device chooser. but it shows a question mark symbol in the target field and i cant figure out what it is!

still, if i kick start the app on the device it hangs and the error log has some entries that i cant understand.. I am stuck with this for few hours now and its on my nerves already. your help will be great deed, thanks :)

these are the last few entries in the log cat

12-16 20:31:31.210: I/ethernet(2166): Loading ethernet jni class
12-16 20:31:31.250: D/AndroidRuntime(2166): Calling main entry com.android.commands.am.Am
12-16 20:31:34.340: D/AndroidRuntime(2181): >>>>>> AndroidRuntime START com.android.internal.os.RuntimeInit <<<<<<
12-16 20:31:34.340: D/AndroidRuntime(2181): CheckJNI is OFF
12-16 20:31:34.480: I/ethernet(2181): Loading ethernet jni class
12-16 20:31:34.530: D/AndroidRuntime(2181): Calling main entry com.android.commands.am.Am
12-16 20:31:37.610: D/AndroidRuntime(2194): >>>>>> AndroidRuntime START com.android.internal.os.RuntimeInit <<<<<<
12-16 20:31:37.610: D/AndroidRuntime(2194): CheckJNI is OFF
12-16 20:31:37.760: I/ethernet(2194): Loading ethernet jni class
12-16 20:31:37.800: D/AndroidRuntime(2194): Calling main entry com.android.commands.am.Am

Stuck at this point!

1

There are 1 answers

1
Mike Marshall On

Sounds like you may have a problem uploading the app to the device and/or connecting the android debugger:

Check if you can even connect to the device

You may be missing the Google USB driver, or perhaps a driver specific to your device used for USB connectivity to your PC:

http://developer.android.com/sdk/win-usb.html

Debugging on a physical device

http://developer.android.com/tools/device.html