# Getting message : unfortunately, app has stopped on android 4.4 kitkat \[not related to ionic\]

**URL:** <https://forum.ionicframework.com/t/getting-message-unfortunately-app-has-stopped-on-android-4-4-kitkat-not-related-to-ionic/2942>\
**Category:** uncategorized\
**Created:** [April 13, 2014, 11:45am UTC](https://forum.ionicframework.com/t/getting-message-unfortunately-app-has-stopped-on-android-4-4-kitkat-not-related-to-ionic/2942 "2014-04-13T11:45:36Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![peey](https://avatars.discourse-cdn.com/v4/letter/p/85e7bf/32.png) [@peey](https://forum.ionicframework.com/u/peey)\
**Post date:** [April 13, 2014, 11:45am UTC](https://forum.ionicframework.com/t/getting-message-unfortunately-app-has-stopped-on-android-4-4-kitkat-not-related-to-ionic/2942/1 "2014-04-13T11:45:37Z")

</div>

UPDATE : I have discovered that this issue isn’t specific to ionic. I have no idea how to delete a thread on these forums, I’ll let this thread live till I do find out or any other person deletes it.

I’ve gone through the cordova build process and now I’m trying to run my app on my devices/emulators.

The app is working fine on all other platforms except android 4.4, where it crashes with the message `unfortunately, app has stopped`.

I’m running windows 7 with cordova 3.4

Help will be greatly appriciated

---

<div class="post-metadata">

**Author:** ![mhartington](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/mhartington/32/137757_2.png) [@mhartington](https://forum.ionicframework.com/u/mhartington)\
**Post date:** [April 13, 2014, 2:40pm UTC](https://forum.ionicframework.com/t/getting-message-unfortunately-app-has-stopped-on-android-4-4-kitkat-not-related-to-ionic/2942/2 "2014-04-13T14:40:13Z")

</div>

Hey saw that you found out this wasnt an ionic issue, still I wish to help. When you run your app in the browser, are you getting any errors in you console?

---

<div class="post-metadata">

**Author:** ![peey](https://avatars.discourse-cdn.com/v4/letter/p/85e7bf/32.png) [@peey](https://forum.ionicframework.com/u/peey)\
**Post date:** [April 13, 2014, 9:36pm UTC](https://forum.ionicframework.com/t/getting-message-unfortunately-app-has-stopped-on-android-4-4-kitkat-not-related-to-ionic/2942/3 "2014-04-13T21:36:10Z")

</div>

Hey @mhartington. Unfortunately this issue is bigger than all of us. It’s some genymotion emulator glitch or something. I have reported this to genymotion google group, and hopefully this will get resolved there. I have tried other emulators and I’m not experiencing this problem on them.

Thanks for offering help though!

---

<div class="post-metadata">

**Author:** ![szuzul](https://avatars.discourse-cdn.com/v4/letter/s/e68b1a/32.png) [@szuzul](https://forum.ionicframework.com/u/szuzul)\
**Post date:** [May 16, 2014, 12:49pm UTC](https://forum.ionicframework.com/t/getting-message-unfortunately-app-has-stopped-on-android-4-4-kitkat-not-related-to-ionic/2942/4 "2014-05-16T12:49:16Z")

</div>

> [@peey](#):
>
> ve tried other emulators and I’m not experiencing this problem on them.

Hi peey I got the same error on KitKat. on 4.0.3 app is working fine… Do you have some link where you report the problem ?

regards,

---

<div class="post-metadata">

**Author:** ![peey](https://avatars.discourse-cdn.com/v4/letter/p/85e7bf/32.png) [@peey](https://forum.ionicframework.com/u/peey)\
**Post date:** [May 17, 2014, 10:45am UTC](https://forum.ionicframework.com/t/getting-message-unfortunately-app-has-stopped-on-android-4-4-kitkat-not-related-to-ionic/2942/5 "2014-05-17T10:45:04Z")

</div>

on KitKat or on a KitKat emulator?

If you’re on the genymotion emulator, try running their browser app, it will close too with the same error message. The issue has been filed here : [https://groups.google.com/forum/#!searchin/genymotion-users/Browser$20not$20supported$204.4.2$20version$3F/genymotion-users/v6ryuyHCM\_E/r\_LzEe\_v1-0J](https://groups.google.com/forum/#!searchin/genymotion-users/Browser%2420not%2420supported%24204.4.2%2420version%243F/genymotion-users/v6ryuyHCM_E/r_LzEe_v1-0J) be sure to leave a comment so that it gets more attention.

---

<div class="post-metadata">

**Author:** ![matheuscas](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/matheuscas/32/64775_2.png) [@matheuscas](https://forum.ionicframework.com/u/matheuscas)\
**Post date:** [August 6, 2014, 2:34pm UTC](https://forum.ionicframework.com/t/getting-message-unfortunately-app-has-stopped-on-android-4-4-kitkat-not-related-to-ionic/2942/6 "2014-08-06T14:34:27Z")

</div>

I am having this same problem, but on my phone. I’m using the beta10 and I followed the instructions on `http://ionicframework.com/docs/guide/publishing.html`. My app is installed, but it can’t be launched and the following message appears: “Unfortunately, APP\_NAME has stopped.” And nothing I could do to workaround this issue. Anybody else? I got the Android 4.4.3

---

<div class="post-metadata">

**Author:** ![peey](https://avatars.discourse-cdn.com/v4/letter/p/85e7bf/32.png) [@peey](https://forum.ionicframework.com/u/peey)\
**Post date:** [August 6, 2014, 4:09pm UTC](https://forum.ionicframework.com/t/getting-message-unfortunately-app-has-stopped-on-android-4-4-kitkat-not-related-to-ionic/2942/7 "2014-08-06T16:09:15Z")

</div>

@matheuscas make sure that it isn’t a plugin problem, and check if it works on other android versions.

---

<div class="post-metadata">

**Author:** ![matheuscas](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/matheuscas/32/64775_2.png) [@matheuscas](https://forum.ionicframework.com/u/matheuscas)\
**Post date:** [August 6, 2014, 6:03pm UTC](https://forum.ionicframework.com/t/getting-message-unfortunately-app-has-stopped-on-android-4-4-kitkat-not-related-to-ionic/2942/8 "2014-08-06T18:03:34Z")

</div>

@peey I have only those default plugins: `com.ionic.keyboard` and `org.apache.cordova.device` (for production, I had to remove the console plugin). And I just tested in another Android version (4.1.2) and got the same issue (tested on a phone too).

---

<div class="post-metadata">

**Author:** ![lannie](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/lannie/32/65321_2.png) [@lannie](https://forum.ionicframework.com/u/lannie)\
**Post date:** [October 11, 2014, 10:20pm UTC](https://forum.ionicframework.com/t/getting-message-unfortunately-app-has-stopped-on-android-4-4-kitkat-not-related-to-ionic/2942/9 "2014-10-11T22:20:20Z")

</div>

This problem almost drove me nuts. What I finally got to was two things. One, I made sure that all of the files in my project were owned by me, that is, chown -R lannie \*. I chmod’d them all 777 too, because I’m sloppy that way. The other thing was, it was messing up when I tried to change the app name from CordovaApp to my app name in platforms/Android. Seems to me I was able to do this in a prior project a few months ago, but not now. What I finally did was let it all build as CordovaApp, and then I changed to my project name for the final step of: sudo /Users/lannie/Downloads/android-sdk-macosx/build-tools/20.0.0/zipalign -v 4 CordovaApp-release-unsigned.apk MY\_PROJECT\_NAME.apk. Don’t know how much of this was necessary or even wise, but at least the final .apk runs in GenyMotion. Now to submit to the Play store…  
…  
Later … this appears to have just been voodoo, I cannot reproduce my results. I am now crazy.

---

<div class="post-metadata">

**Author:** ![vpease](https://avatars.discourse-cdn.com/v4/letter/v/7bcc69/32.png) [@vpease](https://forum.ionicframework.com/u/vpease)\
**Post date:** [November 7, 2014, 8:36am UTC](https://forum.ionicframework.com/t/getting-message-unfortunately-app-has-stopped-on-android-4-4-kitkat-not-related-to-ionic/2942/10 "2014-11-07T08:36:57Z")

</div>

same issue here with windows 8.1 and the latest ionic.

In my case, i started to notice this behavior after i added the source code to github. What i did to solve it was to delete all platforms and build everything again.

---

<div class="post-metadata">

**Author:** ![sendittokeith](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/sendittokeith/32/68072_2.png) [@sendittokeith](https://forum.ionicframework.com/u/sendittokeith)\
**Post date:** [January 3, 2015, 11:17pm UTC](https://forum.ionicframework.com/t/getting-message-unfortunately-app-has-stopped-on-android-4-4-kitkat-not-related-to-ionic/2942/11 "2015-01-03T23:17:45Z")

</div>

Same issue here, not sure where to go from here ☹

---

<div class="post-metadata">

**Author:** ![kiteboarder](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/kiteboarder/32/72402_2.png) [@kiteboarder](https://forum.ionicframework.com/u/kiteboarder)\
**Post date:** [January 27, 2015, 8:42pm UTC](https://forum.ionicframework.com/t/getting-message-unfortunately-app-has-stopped-on-android-4-4-kitkat-not-related-to-ionic/2942/12 "2015-01-27T20:42:45Z")

</div>

For me this error was related to the ionic keyboard cordova plugin and having just renamed my app. See Tilo’s answer: [http://stackoverflow.com/questions/26383949/cant-run-ionic-on-android-class-not-found-exception-ionickeyboard](http://stackoverflow.com/questions/26383949/cant-run-ionic-on-android-class-not-found-exception-ionickeyboard)

---

<div class="post-metadata">

**Author:** ![AdrienGiboire](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/adriengiboire/32/77024_2.png) [@AdrienGiboire](https://forum.ionicframework.com/u/AdrienGiboire)\
**Post date:** [February 14, 2015, 1:18pm UTC](https://forum.ionicframework.com/t/getting-message-unfortunately-app-has-stopped-on-android-4-4-kitkat-not-related-to-ionic/2942/13 "2015-02-14T13:18:29Z")

</div>

Thanks! I wasn’t able to get any trace at all. I just tried the solution you pointed out just in case and it happened to work.

Again, thanks!

---

<div class="post-metadata">

**Author:** ![michahell](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/michahell/32/7219_2.png) [@michahell](https://forum.ionicframework.com/u/michahell)\
**Post date:** [March 9, 2015, 1:44pm UTC](https://forum.ionicframework.com/t/getting-message-unfortunately-app-has-stopped-on-android-4-4-kitkat-not-related-to-ionic/2942/14 "2015-03-09T13:44:37Z")

</div>

I got this error as well, on the actual phones (two phones tested). It was a bug in my SCSS: there were semi colons missing after some SCSS variables, for example:

```
background: $forecast-bg-color

```

instead of

```
background: $forecast-bg-color;

```

This seemed to be the problem for me! hope it helps someone :\>

---

<div class="post-metadata">

**Author:** ![eshinkawa](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/eshinkawa/32/76206_2.png) [@eshinkawa](https://forum.ionicframework.com/u/eshinkawa)\
**Post date:** [April 23, 2015, 6:02pm UTC](https://forum.ionicframework.com/t/getting-message-unfortunately-app-has-stopped-on-android-4-4-kitkat-not-related-to-ionic/2942/15 "2015-04-23T18:02:08Z")

</div>

Reinstalling ionic keyboard also worked for me. Thanks!

---

<div class="post-metadata">

**Author:** ![nuizzy](https://avatars.discourse-cdn.com/v4/letter/n/a587f6/32.png) [@nuizzy](https://forum.ionicframework.com/u/nuizzy)\
**Post date:** [June 5, 2015, 4:21am UTC](https://forum.ionicframework.com/t/getting-message-unfortunately-app-has-stopped-on-android-4-4-kitkat-not-related-to-ionic/2942/16 "2015-06-05T04:21:48Z")

</div>

In recently updated my android sdk on windows and had this issue. I noticed the first build would install to the device but any attempts after would not. Solution for me  
1-delete com.ionic.keyboard from the plugins folder  
2- re-install com.ionic.keyboard in same folder  
3- delete any ios or android.json files in this folder  
4- rebuild  
5- ionic run android
