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,880 points
76 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,050 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 can I solve this example in an easy way??

You can use this code: import java.util.*; public class ...READ MORE

answered Sep 23 in Java by Omkar
• 67,660 points
49 views
0 votes
2 answers

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

If you require a time stamp in ...READ MORE

answered Aug 23 in Java by Sirajul
• 38,820 points
120 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,640 points
105 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,880 points
4,473 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,640 points
64 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,940 points
70 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,350 points
777 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,050 points
4,930 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,050 points

edited Dec 19, 2018 by Daisy 67 views