1. Check out our companion app, Forums for Android! Download from Google Play

Force Close Error

Discussion in 'Android Apps & Games' started by jomypgeorge, Sep 21, 2010.

  1. jomypgeorge

    jomypgeorge New Member
    Thread Starter
    5

    Sep 21, 2010
    1
    0
    5
    Programmer
    India
    Hi friends,
    im new to android development, and did my first application just now.
    But when i run it in simulator it shows a message "Sorry The application has stopped unexpectedly. Please try again. [Force Close]". My application just contains a textbox and listbox. just add the string in text box to listbox. i got it from a textbook.

    How to solve this? I think its a silly thing for most of you...
    Thanks in advance....
     

    Advertisement

  2. lordelisah

    lordelisah New Member
    5

    Mar 26, 2013
    4
    0
    5
    Same here. Any help?
     
  3. shadowy

    shadowy Active Member
    16

    Sep 30, 2010
    25
    2
    16
    You need to check the logcat, that will tell you what the error is.
     
  4. lordelisah

    lordelisah New Member
    5

    Mar 26, 2013
    4
    0
    5
    logcat? :thinking: I donno what that is but according to eclipse there are no errors in the coding.
    Any other possibilities than that?
     
  5. DragonEagle

    DragonEagle Member
    25

    Apr 3, 2013
    7
    0
    25
    Male
    Freelance Game Developer/Programmer
    Ridgecrest, CA
    When you run your app from eclipse, there will be a log running at the bottom called a logcat. when your app closes unexpectedly you will usually get error messages there. Usually in red. An unexpected close is caused by a runtime error, not a compile error.
     

Share This Page

Loading...