Sting Ray
Sting Ray

Reputation: 1

where to look if app crashes on startup

I am a beginner to android. in java and other programming languages we get error in the console. how to find the same as if there is no error in the code and app crashes on start up.

Upvotes: 0

Views: 64

Answers (3)

DearDhruv
DearDhruv

Reputation: 798

You can always Check the LogCat Console in DDMS Perspective

Upvotes: 1

Boe-Dev
Boe-Dev

Reputation: 1595

use the logcat in eclipse, red lines are errors. Double click on them shows you the line in code where the error comes from (try all of them ).

Upvotes: 0

CommonsWare
CommonsWare

Reputation: 1007296

Error messages that occur on the device will be visible to you via LogCat, accessible by the adb logcat command, the LogCat pane in standalone DDMS, or the LogCat view in Eclipse.

Upvotes: 1

Related Questions