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,890 points
292 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,110 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, 2019 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, 2019 in Java by Omkar
• 69,130 points
170 views
0 votes
0 answers

HOw can i do this?

The department of History has just bought ...READ MORE

Apr 15, 2020 in Java by MIH
• 160 points
123 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, 2019 in Java by Sirajul
• 59,050 points
463 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 Parth
• 4,630 points
306 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 Parth
• 4,630 points
241 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
• 58,120 points
242 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
4,160 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, 2019 in Java by Daisy
• 8,110 points
17,669 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,110 points

edited Dec 19, 2018 by Daisy 179 views