0
App close unexpectedly in android studio
I was developing calculator in android studio and i when i run it it stop unexpectedly when the editText box is empty and try to perform some opertion rather than of handling it. If somebody knows the issue kindly help me. https://pern-my.sharepoint.com/personal/fa18-bse-125_cuiatd_edu_pk/_layouts/15/onedrive.aspx?id=%2Fpersonal%2Ffa18%2Dbse%2D125%5Fcuiatd%5Fedu%5Fpk%2FDocuments%2FCalculator%20code
7 ответов
+ 3
Amar Murtaza Welcome to SoloLearn.
We can't know without seeing your code. Have you tried debbuging your app? It would help if you shared the debug log aswell as the code.
Follow these rules when asking a question in SoloLearn:
https://www.sololearn.com/Blog/38/8-simple-rules-to-get-help-from-the-community
Welcome to the forum. Please add more details to your question.
+ 3
Amar Murtaza link your code or screenshot of error, try to figure out your log report(search that error you can probably find the solution).
I think you are probably facing NullpointerExeption, if that's the case then you probably forget the Initialization process of your EditText or something.
+ 2
Amar Murtaza go to share option of your code ,copy the link and paste it one your description.
+ 2
Amar Murtaza your given link is asking for sign up, just Post a screenshot of that error on your feed and thank link here.
0
How can i attach code to this because i dont see any option here of doing so
0
https://pern-my.sharepoint.com/personal/fa18-bse-125_cuiatd_edu_pk/_layouts/15/onedrive.aspx?id=%2Fpersonal%2Ffa18%2Dbse%2D125%5Fcuiatd%5Fedu%5Fpk%2FDocuments%2FCalculator%20code