Click here to Skip to main content
15,903,201 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
Hi to all,

I am new to andorid. i have developed a sample appliacation. when i am trying to run the application it shows a dialog box
"the application sample1 is stopped unexpectedly. please try again"

i have restarted the application so many times. but it display the same message again and again..

please give me the solution.
Posted
Comments
[no name] 21-Apr-11 3:03am    
Post your code then only we can stimulate the issue.
Sandeep Mewara 21-Apr-11 9:58am    
You need to provide more information on what you were trying. For now, it's really difficult to tell anything.

1 solution

Whenever an application generates an exception, Android will show you this message. Look at the output of your development environment for the exact error message.

In Eclipse try the DDMS perspective and look at the LogCat window. The exception message should be in that window and give you a clue about the problem.

If you are using IntelliJ just look at the Android LogCat window.

Hope this helps.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900