I am developing an android application. Suddenly, when I included a blank fragment, the application crashed. Before adding the fragment application worked without any problem. So it is clear that the fragment caused for the crash. So I want to get to know how to solve this issue.
            Asked
            
        
        
            Active
            
        
            Viewed 40 times
        
    -1
            
            
        - 
                    https://stackoverflow.com/questions/23353173/unfortunately-myapp-has-stopped-how-can-i-solve-this – OneCricketeer Mar 11 '18 at 15:48
 - 
                    You should post the error itself and the code that caused it, please. Or look at the Android documentation on debugging – OneCricketeer Mar 11 '18 at 15:49
 - 
                    We still expect you to either provide a [mcve] or search and research how to diagnose the issue before posting here. https://stackoverflow.com/help/how-to-ask – OneCricketeer Mar 11 '18 at 19:52
 
1 Answers
0
            You could add breakpoints to your program and then run it in debug mode which should show you the line of code causing the crash.
        Will Curry
        
- 26
 - 3
 
- 
                    
 - 
                    1It depends on the IDE you are using. This is really for you to research yourself. – Will Curry Mar 11 '18 at 15:46