user275788
user275788

Reputation: 833

Android application stops unexpectedly

In the emulator, it shows me the infomation: The application my_app_name (process pack_name) has stoped unexpectedly.Pls try again What is the problem?

Because i just add many field in the layout.xml file?

I am a newbie in Android development. Thanks you for your help

Upvotes: 0

Views: 441

Answers (2)

user275788
user275788

Reputation: 833

I just add a new xml file to define the listview field.and change the main xml This is the xml file:

Upvotes: 0

Mark B
Mark B

Reputation: 200486

Look in LogCat. You probably have a stack trace in there. If you can't understand the stack trace post it here by editing your original question.

Upvotes: 1

Related Questions