Unfortunately MyApp has stopped. How do I solve this?

0 votes

I am trying to develop an application, and everytime I run it, I am getting this message:

Unfortunately, MyApp has stopped.

What can I do to solve this?

Dec 27, 2018 in Java by Sushmita
• 6,840 points
44 views

2 answers to this question.

0 votes
First you check which point your app has crashed. For this you can use Log.e("TAG","Message");, using this line you can see you app log in logcat.

After that you find which point your app has stopped its very easy to solve at your side.
answered Dec 27, 2018 by Daisy
• 8,040 points
0 votes

The common solution for solving App has stopped working is to reload the app, clear the cache or data, erase the cache partition, and factory reset your device.

answered Mar 6 by AllisonE
• 180 points

Related Questions In Java

0 votes
1 answer

How do I get the current date and time using Java?

To print current date and time using ...READ MORE

answered Apr 13, 2018 in Java by Akrati
• 3,150 points
55 views
0 votes
1 answer

How do I fix a NullPointerException?

When you declare a reference variable (i.e. ...READ MORE

answered Apr 13, 2018 in Java by parth295
• 4,600 points
68 views
0 votes
2 answers

How do I read and convert an InputStream object to string type?

You can also use Java Standard Library ...READ MORE

answered Jul 17, 2018 in Java by Sushmita
• 6,840 points
2,287 views
0 votes
1 answer

How do I create a Java string from the contents of a file?

If you're looking for an alternative that ...READ MORE

answered Apr 19, 2018 in Java by Rishabh
• 3,540 points
71 views
0 votes
1 answer

How can we get the current location in Android?

First you need to define a LocationListener to handle ...READ MORE

answered Sep 25, 2018 in Java by parth295
• 4,600 points
39 views
0 votes
1 answer

Can't find class CognitoUserPoolsSignInProvider: Issue with Sign In integration

CognitoUserPoolsSignInProvider is ditributed as part of aws-android-sdk-auth-userpools library. Please import ...READ MORE

answered Sep 28, 2018 in AWS by Priyaj
• 56,160 points
46 views
0 votes
1 answer

How to Read/Write String from a File in Android

Writing a File in android: private void writeToFile(String ...READ MORE

answered Oct 3, 2018 in Java by sharth
• 3,320 points
411 views
0 votes
1 answer

How can I solve this: To prevent a memory leak, the JDBC Driver has been forcibly unregistered

What can you do? Ignore these warnings. Tomcat ...READ MORE

answered Jan 8 in Java by Daisy
• 8,040 points
2,145 views
+2 votes
1 answer

How do I ask the Selenium-WebDriver to wait for few seconds in Java?

There are two ways to wait: explicit ...READ MORE

answered Dec 19, 2018 in Java by Daisy
• 8,040 points

edited Dec 19, 2018 by Daisy 42 views