# App crashing on Android (apk) but working with Live

**URL:** <https://community.thunkable.com/t/app-crashing-on-android-apk-but-working-with-live/686453>\
**Category:** Questions about Thunkable X\
**Tags:** ios, crash, android\
**Created:** [July 18, 2020, 10:55am UTC](https://community.thunkable.com/t/app-crashing-on-android-apk-but-working-with-live/686453 "2020-07-18T10:55:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![apauaie](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/apauaie/32/76342_2.png) [@apauaie](https://community.thunkable.com/u/apauaie)\
**Post date:** [July 18, 2020, 10:55am UTC](https://community.thunkable.com/t/app-crashing-on-android-apk-but-working-with-live/686453/1 "2020-07-18T10:55:10Z")

</div>

Hi, I have got this issue with my app where it keeps crashing on second start. The first time opening is always ok. After crashing if i clear storage on the app info, it will be fine again. Apps not very complex, only two pages, first page is login and second page is the main QR and BLE function.

The problem is i am not sure how to debug this since i cannot see any crash log. If anyone can point me to the right direction, that will be great.

As i read from other posts, i have tried a few suggestion including removing Alert, removing Stored variables and adding ‘when Open’ function to all pages.

I’m almost sure it is problem with my code, because it crashes also on IOS. But i am not sure where to look.

Any help appreciated. Here is the link to my current app

[https://x.thunkable.com/copy/7664a8da0ad79b00e302dc5796384699](https://x.thunkable.com/copy/7664a8da0ad79b00e302dc5796384699)

Thanks

---

<div class="post-metadata">

**Author:** ![domhnallohanlon](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/domhnallohanlon/32/29554_2.png) [@domhnallohanlon](https://community.thunkable.com/u/domhnallohanlon)\
**Post date:** [July 21, 2020, 7:31pm UTC](https://community.thunkable.com/t/app-crashing-on-android-apk-but-working-with-live/686453/2 "2020-07-21T19:31:36Z")

</div>

4 posts were merged into an existing topic: [[In Progress] My downloaded app won’t open](https://community.thunkable.com/t/in-progress-my-downloaded-app-wont-open/686257)

---

<div class="post-metadata">

**Author:** ![domhnallohanlon](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/domhnallohanlon/32/29554_2.png) [@domhnallohanlon](https://community.thunkable.com/u/domhnallohanlon)\
**Post date:** [July 21, 2020, 7:31pm UTC](https://community.thunkable.com/t/app-crashing-on-android-apk-but-working-with-live/686453/3 "2020-07-21T19:31:36Z")

</div>


