Why does my app keep closing when i open it android

By using our site, you acknowledge that you have read and understand our Cookie PolicyPrivacy Policyand our Terms of Service. The dark mode beta is finally here. Change your preferences any time. Stack Overflow for Teams is a private, secure spot for you and your coworkers to find and share information. Hi I am a rank amateur at coding in android yet I've managed to get so far but have come up with a problem with something relatively simple, first screen i plug in some text which is then printed to the next screen where there are also a few buttons, i have as yet only defined an intent to one of those, It used to display the second activity and then force close when i clicked a button on second activity, but now it cannot even get to secondactivity.

Out of memory on a byte allocation. How big is the Image? If its too big, you need to scale down to match the ImageView height and width.

How to Fix Auto Closing App Issue in Android Phone

Check this page on how to do that. Learn more. Ask Question.

why does my app keep closing when i open it android

Asked 6 years, 6 months ago. Active 6 years, 6 months ago. Viewed 7k times. Bundle; import android. Activity; import android. Intent; import android. Menu; import android.

Button; import android. Do framework orig behavior Joinsubscribers and get a daily digest of news, geek trivia, and our feature articles. It should theoretically open correctly this time. In that case, installing the newest version of the Play Store should fix things right up. Toggle the slider to enable installation of apps downloaded from the web. A warning will be displayed telling you that this can be a dangerous practice that could put your personal data in jeopardy.

With that done, head back to the home screen and open your web browser of choice. Tap the address bar at the topand head to www. Tap the down arrow to go the Play Store download page. Another dialog will show up a the bottom of the screen asking you to verify the download. Just tap it to start the installation process. It may or may not show a popup asking you to allow Google to check the device for security issues—you can choose to accept or decline, though I generally just let it go ahead since I like to help Google out.

The Best Tech Newsletter Anywhere. Joinsubscribers and get a daily digest of news, comics, trivia, reviews, and more. Windows Mac iPhone Android.

why does my app keep closing when i open it android

Smarthome Office Security Linux. The Best Tech Newsletter Anywhere Joinsubscribers and get a daily digest of news, geek trivia, and our feature articles.

Skip to content. How-To Geek is where you turn when you want experts to explain technology. Since we launched inour articles have been read more than 1 billion times. Want to know more?Important : Settings can vary by phone.

For more info, contact your device manufacturer. Tip: To help identify which apps are causing problems, make a list of the apps you force stop. Google Help. Help Center Community Android. Privacy Policy Terms of Service Submit feedback. Send feedback on Help Center Community.

Fix Android issues Device issues Fix an Android device that freezes or won't respond. Learn how to check your Android version.

why does my app keep closing when i open it android

Check for Android updates Important : Settings can vary by phone. Open your phone's Settings app. You'll see your update status. Follow any steps on the screen. See how much storage you have available. If you're running low on storage, learn how to free up space. Check for app updates On your phone, open the Google Play Store app. Apps with available updates are labeled "Update. If more updates are available, tap Update all. Close apps you're not using Important : Settings can vary by phone.

If needed, tap App info before the app. If needed, tap OK. You should see "Safe mode" at the bottom of your screen. Wait to see if the problem goes away. If it does, an app is likely causing your problem. Go to step 2 below.

If the problem does not go away, skip to Advanced troubleshooting. Restart your phone. One by one, remove recently downloaded apps. Learn how to delete apps. After ea ch removal, restart your phone normally. Learn how to reinstall apps. While any data stored in your Google Account will be restored, all apps and their associated data will be uninstalled. Before you perform a factory data reset, we recommend backing up your phone. Learn how to back up and restore data.

Learn how to perform a factory data reset.By using our site, you acknowledge that you have read and understand our Cookie PolicyPrivacy Policyand our Terms of Service.

The dark mode beta is finally here. Change your preferences any time. Stack Overflow for Teams is a private, secure spot for you and your coworkers to find and share information. I'm currently working on a timer app in Android Studio and it keeps crashing before I can even run it.

I need to have it done tonight so it can be my dad's Christmas present it is for his company. NullPointerException at android. Learn more. My app keeps crashing in Android Studio Ask Question. Asked 5 years, 3 months ago. Active 5 years, 3 months ago. Viewed 12k times. Caused by: java.

You're trying to use findView before you even set the content view. Now I feel stupid but it worked so that's good. Thanks ElefantPhace.

Active Oldest Votes. ElefantPhace ElefantPhace 3, 3 3 gold badges 17 17 silver badges 35 35 bronze badges.

If Your Android Apps Are Crashing Suddenly, Try This Fix

Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password. Post as a guest Name. Email Required, but never shown. The Overflow Blog. The Overflow How many jobs can be done at home? Featured on Meta.

how to disable/stop apps from auto closing?

Community and Moderator guidelines for escalating issues via new response…. Feedback on Q2 Community Roadmap. Technical site integration observational experiment live on Stack Overflow.

Triage needs to be fixed urgently, and users need to be notified upon…. Dark Mode Beta - help us root out low-contrast and un-converted bits. Related Hot Network Questions. Question feed. Stack Overflow works best with JavaScript enabled.Android phones are turning more robust by the day. We have better chipsets paired with RAM that is almost equivalent to those featured in an average laptop. But then our phones end up doing so much more work than the average laptop.

In addition to the games, videos and social media apps, we attend regular calls, make video calls and do lots and lots of things that require our phones to perform well all the time. Every now and then, it gets difficult for our phones to keep up with our over-burdening requirements from it. We have some solutions that can help you fix the problem so that you can enjoy a smoother Android experience.

Apps that depend on the internet may end up crashing if you have an unstable network or if you change from mobile data to a Wi-Fi connection.

While the best apps will work perfectly, apps with a weaker code may not be able to do well in such situations. If you have a bug in the app you are using, the bug may end up causing the automatic closing of the app. Fixing bugged apps is primarily in the hands of the app developer. Make sure you keep your apps updated to fix any bugs in it. Every phone is built to stand a certain level of usage. Some power users end up burdening the CPU by installing apps that do not ideally qualify for the phone.

This creates instability in the app causing it to crash. These are some of the most common reasons that cause apps to crash automatically. Most of the times, the cause of the problem will make it easier for you to identify the right solution. Apps must always run their updated version so that any known bugs or errors can be fixed in it. Developers regularly roll out updated to solve user issues with the app.

There is a chance that the app begins to crash because it is running an old version that lacks the performance capabilities of its updated version.

Many apps need adequate space for creating new files or storing data created when you use the apps. When your phone or tablet begins to run low on storage spaceit gets difficult for the app to create data. Many devices feature lots of storage, but if you have too many apps and data files taking up space then your app may crash.

You can also use Android apps for cleaning up old and unwanted files from the device. If an app crashes frequently then you may be able to fix the problem by clearing the app cache and data. The app cache files include data which speeds up the app performance. Deleting the cache files will not cause any loss of important data. The file will be automatically created when you open the app the next time, albeit you may notice a slight delay in opening the app after deleting the cache files.

This is because the cache files are being created. The app data files, on the other hand, include important data like passwords and other information that personalizes the app for you.

why does my app keep closing when i open it android

By clearing the data file you will lose the configuration of the app and it will have to be reconfigured. Once the cache and data files have been cleared, you will get the chance to start all over again with the app.If your app keeps crashing and closing on you this might be what's going wrong - but you can fix it, don't worry.

If you're one of the millions of Facebook users who have the app on your phone you are probably also one of the many who is used to the app crashing and closing on you. While you may be thinking, oh well, it's time we all had a break from social media, for many Facebook is a way to connect with friends and family in far flung places meaning it's more than a little bit frustrating when it crashes.

Of course Facebook is man-made so just as likely to crash and break as other apps. If you haven't updated in awhile, or don't have the latest version there can be issues with your log in.

Outlook app for android crashes upon opening

It's always good to clear some memory as lack of space often plays a part in these sort of issues. Take time for house-keeping, delete pics, old apps, songs etc - what you don't need clear out.

We know this sounds like the standard IT response, reboot, restart, delete, but it often works with Facebook. Click the cross that appears, that will allow you to delete it. On Android you can drop the app into the 'bin' but you have to go into settings to fully delete Facebook.

After seconds or when the Apple logo appears the app will shut down and automatically restart. Try to reopen it now. Don't worry this won't delete anything, but you can rest your app settings taking it back to the factory default.

In the iPhone go to settings, then general, reset, reset all settings. You'll have to add your passcode to do this. Open the app and quickly log out. Now go to the device settings and access settings for Facebook. Delete Account as this will disconnect Facebook from your device. Re-launch the app and sign back in.

Go back to your settings and reload your username and password. If you've tried all the above and it's still not working it may be an issue with your actual device. As a last resort you can restore your settings, just be aware that your information and apps will be deleted from your device. You can always backup your phone or tablet first - there's a guide on how to do that here.

One answer to the app playing up is the whole of Facebook is down. This sometimes happens when the social media platform is changing, being updated or there are server issues. Just wait for the issue to be resolved by Facebook, your app will be fine once normal service has resumed!

Video Loading Video Unavailable. Click to play Tap to play. The video will start in 8 Cancel Play now. Please see our Privacy Notice for more information on how we use your data and your data protection rights. Thank you for subscribing We have more newsletters Show me See our privacy notice.

Read More Facebook. Read More iPhone tricks, tips and hacks. Follow MirrorTech. Show more comments.Keep in touch and stay productive with Teams and Officeeven when you're working remotely. Learn More. Learn how to collaborate with Office Tech support scams are an industry-wide issue where scammers trick you into paying for unnecessary technical support services. You can help protect yourself from scammers by verifying that the contact is a Microsoft Agent or Microsoft Employee and that the phone number is an official Microsoft global customer service number.

I just bought a new android smartphone and installed the Outlook app. Every time I try to open it, it crashes; either the app simply closes, or else I get a white blank screen for a long time, or else I get a notification that the app is not responding. I have tried uninstalling and re-installing the app, force stopping the Android System Webview and clearing the browser cache Chrome, which is a default app and cannot be uninstalled from my phone and uninstalling and reinstalling the app.

The app still crashes. Did this solve your problem? Yes No. Sorry this didn't help. Yes, it's from the Play store. The Outlook app is version 2. I did download the OWA app but that only seems to work well in that I get notifications of new emails but cannot connect to the app to actually see them when I'm connected to my office wi-fi this may be due to my office's security settings.

Fix an installed Android app that isn't working

Not really. I managed to get outlook working on my phone through a circuitous route, which is not helpful if you actually need to use the Company Portal.

So first I had the Company Portal installed. Through the app, I synced my phone to the Company Portal. I then installed the Outlook app and deleted the Company Portal app not sure in which order, but I don't think it makes much of a difference. I then logged on to Outlook, which I could do I believe because I had previously synced the phone.

So far so good, but it's not a sustainable solution, particularly since in the future my company has the intention of pushing work apps through Company Portal. April 7, Keep in touch and stay productive with Teams and Officeeven when you're working remotely. Site Feedback. Tell us about your experience with our site. Hi all, I just bought a new android smartphone and installed the Outlook app.