Reputation: 1
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
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
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