# App crashes when timer enabled on Android

**URL:** https://community.thunkable.com/t/app-crashes-when-timer-enabled-on-android/26892
**Category:** Questions about Thunkable X
**Created:** [May 14, 2018, 7:34pm UTC](https://community.thunkable.com/t/app-crashes-when-timer-enabled-on-android/26892 "2018-05-14T19:34:13Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![clement\_pignet](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/clement_pignet/32/4485_2.png) [@clement\_pignet](https://community.thunkable.com/u/clement_pignet)
#### Post date: [May 14, 2018, 7:34pm UTC](https://community.thunkable.com/t/app-crashes-when-timer-enabled-on-android/26892/1 "2018-05-14T19:34:13Z")

</div>

Hi, it seems there is an issue when timer starts (by blocks) app crashes on Android but not on iOS.  
App is closed directly (on companion and when compile)

---

<div class="post-metadata">

### Author: ![actech](https://avatars.discourse-cdn.com/v4/letter/a/3d9bf3/32.png) [@actech](https://community.thunkable.com/u/actech)
#### Post date: [May 15, 2018, 7:54am UTC](https://community.thunkable.com/t/app-crashes-when-timer-enabled-on-android/26892/2 "2018-05-15T07:54:36Z")

</div>

Hi,

At me such it is not observed. Can you show the code for the blocks? Maybe the problem is with what happens in the code or values ​​in the component properties fields?

---

<div class="post-metadata">

### Author: ![alfcanova](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/alfcanova/32/20747_2.png) [@alfcanova](https://community.thunkable.com/u/alfcanova)
#### Post date: [July 24, 2018, 3:42am UTC](https://community.thunkable.com/t/app-crashes-when-timer-enabled-on-android/26892/3 "2018-07-24T03:42:03Z")

</div>

Hi Alex,

I tried to use a delay to do the color gradient on my first try.

The error seems to be the same

[Thunkable](https://x.thunkable.com/copy/b728114f4318d7fef09197f7185367d9) (simple timer)

If you can take a look, I’d be grateful.

Thanks a lot,

André

 ![Capture%20_2018-07-24-01-19-54](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/3/3/330c673f3166037fcfac68e8288cb39f4c7bd7b4.png) ![Capture%20_2018-07-24-01-19-39](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/d/c/dc5bf3fe43177d6e05ac16ecfc182791e4daf9d9.png)

---

<div class="post-metadata">

### Author: ![actech](https://avatars.discourse-cdn.com/v4/letter/a/3d9bf3/32.png) [@actech](https://community.thunkable.com/u/actech)
#### Post date: [July 24, 2018, 6:26am UTC](https://community.thunkable.com/t/app-crashes-when-timer-enabled-on-android/26892/4 "2018-07-24T06:26:00Z")

</div>

Hi André,

I know about such a bug on Android. I’m afraid we can not solve it without the help of developers.

Alex

---

<div class="post-metadata">

### Author: ![actech](https://avatars.discourse-cdn.com/v4/letter/a/3d9bf3/32.png) [@actech](https://community.thunkable.com/u/actech)
#### Post date: [July 24, 2018, 6:42am UTC](https://community.thunkable.com/t/app-crashes-when-timer-enabled-on-android/26892/5 "2018-07-24T06:42:20Z")

</div>

Crashes app calls the Timer1.setIntervalMilliseconds block. Remove this block

[https://x.thunkable.com/projects/5b56c6ba887e84714be63529/project/properties/designer/](https://x.thunkable.com/projects/5b56c6ba887e84714be63529/project/properties/designer/)

This app is running on your Android?

Alex

---

<div class="post-metadata">

### Author: ![alfcanova](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/alfcanova/32/20747_2.png) [@alfcanova](https://community.thunkable.com/u/alfcanova)
#### Post date: [July 24, 2018, 1:19pm UTC](https://community.thunkable.com/t/app-crashes-when-timer-enabled-on-android/26892/6 "2018-07-24T13:19:20Z")

</div>

Alex,

yes, it executes but it is impossible to define the range, even in design mode.

How do I report this to developers (bugs section)?

Thank you

my app will run on Android And iOS

---

<div class="post-metadata">

### Author: ![actech](https://avatars.discourse-cdn.com/v4/letter/a/3d9bf3/32.png) [@actech](https://community.thunkable.com/u/actech)
#### Post date: [July 24, 2018, 1:37pm UTC](https://community.thunkable.com/t/app-crashes-when-timer-enabled-on-android/26892/7 "2018-07-24T13:37:28Z")

</div>

To create an error message that developers see, go to [https://github.com/thunkable/thunkable-issues/issues](https://github.com/thunkable/thunkable-issues/issues) and create a new message by clicking on the “New issue” button and selecting the “Bug report” message type.

---

<div class="post-metadata">

### Author: ![actech](https://avatars.discourse-cdn.com/v4/letter/a/3d9bf3/32.png) [@actech](https://community.thunkable.com/u/actech)
#### Post date: [July 24, 2018, 1:45pm UTC](https://community.thunkable.com/t/app-crashes-when-timer-enabled-on-android/26892/8 "2018-07-24T13:45:27Z")

</div>

My suggestion may seem terrible to you, but you can temporarily use this solution - add several Timer components to the project with a different delay set in advance.

---

<div class="post-metadata">

### Author: ![alfcanova](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/alfcanova/32/20747_2.png) [@alfcanova](https://community.thunkable.com/u/alfcanova)
#### Post date: [July 24, 2018, 2:15pm UTC](https://community.thunkable.com/t/app-crashes-when-timer-enabled-on-android/26892/9 "2018-07-24T14:15:52Z")

</div>

Thanks a lot

---

<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, 12:01pm UTC](https://community.thunkable.com/t/app-crashes-when-timer-enabled-on-android/26892/10 "2024-11-08T12:01:06Z")

</div>


