# My application (crashes) closes automatically on Android 9 and higher

**URL:** https://community.thunkable.com/t/my-application-crashes-closes-automatically-on-android-9-and-higher/1373623
**Category:** Questions about Thunkable X
**Created:** [July 1, 2021, 11:34am UTC](https://community.thunkable.com/t/my-application-crashes-closes-automatically-on-android-9-and-higher/1373623 "2021-07-01T11:34:27Z")
**Posts on this page:** 12
**Page:** 1

<div class="post-metadata">

### Author: ![Balanced\_Kitchen](https://avatars.discourse-cdn.com/v4/letter/b/839c29/32.png) [@Balanced\_Kitchen](https://community.thunkable.com/u/Balanced_Kitchen)
#### Post date: [July 1, 2021, 11:34am UTC](https://community.thunkable.com/t/my-application-crashes-closes-automatically-on-android-9-and-higher/1373623/1 "2021-07-01T11:34:27Z")

</div>

my app works on android 5 to 8, but when tested on 9 and higher version it just closes (no bug report). Somehow I managed to get this bug report

 ![received_1981146002048955](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/c/0cc1b3a66f5ae02861a5c5404efba3c2fac6fea5.jpeg)  
I made an inquiry to support but obviously they can’t help because no one has answered me for more than a few days. I hope someone has had a similar problem and can tell me what to look for.

---

<div class="post-metadata">

### Author: ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)
#### Post date: [July 1, 2021, 1:23pm UTC](https://community.thunkable.com/t/my-application-crashes-closes-automatically-on-android-9-and-higher/1373623/2 "2021-07-01T13:23:32Z")

</div>

Do you use Canvas in this app?

---

<div class="post-metadata">

### Author: ![sketch](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/sketch/32/109058_2.png) [@sketch](https://community.thunkable.com/u/sketch)
#### Post date: [July 1, 2021, 1:54pm UTC](https://community.thunkable.com/t/my-application-crashes-closes-automatically-on-android-9-and-higher/1373623/3 "2021-07-01T13:54:25Z")

</div>

Could you show the full eroor and a screenshot of your blocks?  
Also this is sometimes caused by a line of code that’s that bad the app won’t show a error.  
I sometimes have this aswel it’s very anoying.

---

<div class="post-metadata">

### Author: ![emma0122](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/emma0122/32/108510_2.png) [@emma0122](https://community.thunkable.com/u/emma0122)
#### Post date: [July 1, 2021, 1:58pm UTC](https://community.thunkable.com/t/my-application-crashes-closes-automatically-on-android-9-and-higher/1373623/4 "2021-07-01T13:58:20Z")

</div>

Well, Till now I haven’t faced this problem, but I am pretty much sure that you must be missing a line in your code and that would be making a difference. Do give it a check and reply back.

---

<div class="post-metadata">

### Author: ![Balanced\_Kitchen](https://avatars.discourse-cdn.com/v4/letter/b/839c29/32.png) [@Balanced\_Kitchen](https://community.thunkable.com/u/Balanced_Kitchen)
#### Post date: [July 2, 2021, 4:59am UTC](https://community.thunkable.com/t/my-application-crashes-closes-automatically-on-android-9-and-higher/1373623/5 "2021-07-02T04:59:38Z")

</div>

I did something more drastic. I removed all blocks and 90% of the screens. I left only one interaction. Clicking on a label “Добави” should open screen 2, but the app closes automatically instead. Here is the link:  
[https://x.thunkable.com/copy/2d1ae2cfe1391566b12ca9f3b89d229e](https://x.thunkable.com/copy/2d1ae2cfe1391566b12ca9f3b89d229e)

---

<div class="post-metadata">

### Author: ![emma0122](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/emma0122/32/108510_2.png) [@emma0122](https://community.thunkable.com/u/emma0122)
#### Post date: [July 2, 2021, 6:02am UTC](https://community.thunkable.com/t/my-application-crashes-closes-automatically-on-android-9-and-higher/1373623/6 "2021-07-02T06:02:26Z")

</div>

when someone is coding, drastic things take place, it’s no big deal. The link is not responding, check it if there is some glitch.

---

<div class="post-metadata">

### Author: ![Balanced\_Kitchen](https://avatars.discourse-cdn.com/v4/letter/b/839c29/32.png) [@Balanced\_Kitchen](https://community.thunkable.com/u/Balanced_Kitchen)
#### Post date: [July 2, 2021, 6:08am UTC](https://community.thunkable.com/t/my-application-crashes-closes-automatically-on-android-9-and-higher/1373623/7 "2021-07-02T06:08:56Z")

</div>

Try this link  
[https://x.thunkable.com/copy/251ef9d53993645321e8ac725fced723](https://x.thunkable.com/copy/251ef9d53993645321e8ac725fced723)  
PS:I don’t understand the reason why the first one doesn’t work.

---

<div class="post-metadata">

### Author: ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)
#### Post date: [July 2, 2021, 8:50am UTC](https://community.thunkable.com/t/my-application-crashes-closes-automatically-on-android-9-and-higher/1373623/8 "2021-07-02T08:50:58Z")

</div>

Check this

![Balanced_Kitchen](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/5/3/53dce8cfab55d20fc8a4a712cd7ff3e8fc2b2081.gif)

App will crash if you try to open a screen containing a `web viewer` having the `visible` property set to **false**.

---

<div class="post-metadata">

### Author: ![Balanced\_Kitchen](https://avatars.discourse-cdn.com/v4/letter/b/839c29/32.png) [@Balanced\_Kitchen](https://community.thunkable.com/u/Balanced_Kitchen)
#### Post date: [July 2, 2021, 9:11am UTC](https://community.thunkable.com/t/my-application-crashes-closes-automatically-on-android-9-and-higher/1373623/9 "2021-07-02T09:11:02Z")

</div>

Strangely, I haven’t had a problem with this until now. I will change the values in the main project and write about the result.

---

<div class="post-metadata">

### Author: ![Balanced\_Kitchen](https://avatars.discourse-cdn.com/v4/letter/b/839c29/32.png) [@Balanced\_Kitchen](https://community.thunkable.com/u/Balanced_Kitchen)
#### Post date: [July 4, 2021, 7:11am UTC](https://community.thunkable.com/t/my-application-crashes-closes-automatically-on-android-9-and-higher/1373623/10 "2021-07-04T07:11:06Z")

</div>

I made the adjustments in the main project, but the problem remains. I don’t know if it has anything to do, but when I start the project for the first time on a live test, it crashes with the following error “attached photos”. This only happens on a device with little memory and on first startup. That’s why I didn’t pay attention to this collapse. After the second start, the application works.

 ![Screenshot_2021-07-03-22-19-39](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/d/0d913680d8593adf60868e2180f63d441b4e1d70.png)  
 ![Screenshot_2021-07-03-22-19-52](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/2/2/22e40b3d4e0d2b120ef60e78a8a7e0ce9b462b4c.png)  
 ![Screenshot_2021-07-03-22-19-59](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/5/f/5f42dc0d9567633ba36655551bd022463e474dac.png)

---

<div class="post-metadata">

### Author: ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)
#### Post date: [July 4, 2021, 7:44am UTC](https://community.thunkable.com/t/my-application-crashes-closes-automatically-on-android-9-and-higher/1373623/11 "2021-07-04T07:44:25Z")

</div>

For low memory devices, you need to install APK and run it directly.

If you use the Thunkable live App then the live App will take memory and your app will take more and you might get out of memory quickly.

---

<div class="post-metadata">

### Author: ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)
#### Post date: [November 8, 2024, 1:19pm UTC](https://community.thunkable.com/t/my-application-crashes-closes-automatically-on-android-9-and-higher/1373623/12 "2024-11-08T13:19:59Z")

</div>


