
I ran my app in the emulator. Where do I even begin?
First line from LogCat:
11-28 23:41:03.912: ERROR/AndroidRuntime(391): FATAL EXCEPTION: main
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you are using eclipse then open the debug view. One of the windows is logcat. Watch that window and when the app crashes there will be a stream of red text (or click the circled e in the filters above the window). The first line will be the actual reason for the crash, more useful will be a line about halfway down that starts with ’caused by ..’.
Figure out what caused it and then do some research to find a solution. Sometimes it is as easy as ’caused by activity not in manifest file. Did you add activity to the manifest?’ and then other times it takes some digging.
You can also copy and paste the logcat code from that window and add to your question for more help.