On Thursday, June 2, 2011 10:59:59 AM UTC-4, treyb wrote:
>
> I am beginning at creating Android apps and I have been playing with a 
> hello world app and attempting to add a username and password editbox 
> and print it out to the screen.  I have no error or warnings in the 
> problem window, but when I run it on a android 3.0 tablet, it 
> crashes......... 
>

You need to get the logcat output window up, either in eclipse/ddms or just 
by typing adb logcat into a terminal (may have to set up your path properly)

This will have a whole slew of messages from the device, some looking 
error-like in even normal circumstances, but you are looking for something 
from your application's virtual machine.

Most frequently that something is a null pointer exception which occurs when 
you try to call a method of an object where the object itself is null.

If you can't figure it out on your own, post the error messages from logcat 
and people may be able to help.  If there are references to numbered source 
lines, provide code around those lines with the line numbers.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to