Click here to Skip to main content
11,640,521 members (62,860 online)
Rate this: bad
Please Sign up or sign in to vote.
See more: Android
where should the errors be found due to force close in android ?
Posted 10-Oct-12 23:00pm
aspnet_regiis -i at 11-Oct-12 5:06am
In the catch block I guess
OriginalGriff at 11-Oct-12 5:14am
This is not a good question - we cannot work out from that little what you are trying to do.
Remember that we can't see your screen, access your HDD, or read your mind.
Use the "Improve question" widget to edit your question and provide better information.
Member 9239619 at 11-Oct-12 5:19am
i m making a android application n its giving me force close due to some error when can i find the error?
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

If your application hangs (for instance an infinite loop) then Android forces its termination.
Member 9239619 at 11-Oct-12 20:34pm
ya agreed. . but m not able to find the errors
Rate this: bad
Please Sign up or sign in to vote.

Solution 2

Do you know about LogCat of Android?It shows all the errors list that your application faces during runtime.
If you use Eclipse for coding in android then see the LogCat icon at the below right corner of the screen.If not found then let me know..
Member 9239619 at 11-Oct-12 20:34pm
i don't understand log cat errors

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

  Print Answers RSS
0 Mika Wendelius 310
1 OriginalGriff 165
2 Afzaal Ahmad Zeeshan 130
3 CPallini 109
4 Sergey Alexandrovich Kryukov 94
0 Mika Wendelius 200
1 OriginalGriff 145
2 CPallini 115
3 jgakenhe 40
4 sasanka sekhar panda 30

Advertise | Privacy | Mobile
Web04 | 2.8.150731.1 | Last Updated 11 Oct 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100