# Unable to test my app on device

**URL:** <https://community.thunkable.com/t/unable-to-test-my-app-on-device/1742836>\
**Category:** Questions about Thunkable X\
**Created:** [February 19, 2022, 9:14am UTC](https://community.thunkable.com/t/unable-to-test-my-app-on-device/1742836 "2022-02-19T09:14:40Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![bibbi](https://avatars.discourse-cdn.com/v4/letter/b/db5fbb/32.png) [@bibbi](https://community.thunkable.com/u/bibbi)\
**Post date:** [February 19, 2022, 9:14am UTC](https://community.thunkable.com/t/unable-to-test-my-app-on-device/1742836/1 "2022-02-19T09:14:40Z")

</div>

hi

the application launches in preview mode  
on the other hand in live test after the connection screen and the choice of an option I get this message

 ![Screenshot_2022-02-19-10-08-24-02_2bbfbfee96a5dfce998f962ebb8b5da3](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/6/06cc16be46a898e5db88ab4b09d5b8e5452864fb.jpeg)

although it is the same application enough to tear your hair out  
i check my blocks again and again and i don’t see what’s wrong

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [February 19, 2022, 9:38am UTC](https://community.thunkable.com/t/unable-to-test-my-app-on-device/1742836/2 "2022-02-19T09:38:13Z")

</div>

Your blocks are crashing the app. It could be a stored variable that isn’t initialized properly or a variable type mismatch or a data source retrieval that doesn’t exist or a number of other things.

---

<div class="post-metadata">

**Author:** ![bibbi](https://avatars.discourse-cdn.com/v4/letter/b/db5fbb/32.png) [@bibbi](https://community.thunkable.com/u/bibbi)\
**Post date:** [February 19, 2022, 9:40am UTC](https://community.thunkable.com/t/unable-to-test-my-app-on-device/1742836/3 "2022-02-19T09:40:11Z")

</div>

hi

thanks for your answer

I forgot to specify that on android it gets stuck and that on my ipad it works

but why does it work in preview mode is it less sensitive to block errors?

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [February 19, 2022, 5:43pm UTC](https://community.thunkable.com/t/unable-to-test-my-app-on-device/1742836/4 "2022-02-19T17:43:13Z")

</div>

You’ve given so little information that it’s impossible to know.

But I believe the device’s processor speed can affect how the code is interpreted. If you are using blocks affected by timing such as “then do” blocks, this isn’t surprising.

---

<div class="post-metadata">

**Author:** ![leeristhkfpe4](https://avatars.discourse-cdn.com/v4/letter/l/4af34b/32.png) [@leeristhkfpe4](https://community.thunkable.com/u/leeristhkfpe4)\
**Post date:** [February 19, 2022, 6:02pm UTC](https://community.thunkable.com/t/unable-to-test-my-app-on-device/1742836/5 "2022-02-19T18:02:17Z")

</div>

I think there must be something going on with the Thunkable servers. I was trying to work on an app yesterday and the app would take a full 10 minutes until the most recent changes would register in the Thunkable Live app. Then my code got corrupted and I had to delete an entire section and recode it before it would work. Now I’m struggling with an issue where two apps have identical code but one runs and another keeps crashing. The app I’m working on uses Firebase so it’s possible that the problem is linked to Google’s servers as well.

Sorry I don’t have any suggestions, just confirming I’m having major issues too!

---

<div class="post-metadata">

**Author:** ![leeristhkfpe4](https://avatars.discourse-cdn.com/v4/letter/l/4af34b/32.png) [@leeristhkfpe4](https://community.thunkable.com/u/leeristhkfpe4)\
**Post date:** [February 19, 2022, 6:08pm UTC](https://community.thunkable.com/t/unable-to-test-my-app-on-device/1742836/6 "2022-02-19T18:08:53Z")

</div>

Adding to the mystery, now the app that isn’t working on my iPad is working on my iPhone.

I’ve spent a lot of time troubleshooting and my problems all have to do with the Airtable component and the Realtime DB component behaving erratically–I run the app once and it works beautifully, then I run it a moment later and it crashes with an error.

---

<div class="post-metadata">

**Author:** ![jared](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/jared/32/138473_2.png) [@jared](https://community.thunkable.com/u/jared)\
**Post date:** [February 19, 2022, 6:35pm UTC](https://community.thunkable.com/t/unable-to-test-my-app-on-device/1742836/7 "2022-02-19T18:35:45Z")

</div>

@leeristhkfpe4

Can you share a minimal example of apps that demonstrate this issue? No need to share your project, but instead a smaller version that shows the same bug.

—

@bibbi

It’s hard to diagnose what’s going on without knowing your block combos and the validity of the data (or lack of data) you are evaluating.

AFAIK, there’s no major issues going on atm

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [February 19, 2022, 6:46pm UTC](https://community.thunkable.com/t/unable-to-test-my-app-on-device/1742836/9 "2022-02-19T18:46:04Z")

</div>

I find there’s a lot of lag between making changes and previewing or live testing. I often have to press the Preview or Live Test button 2-3 times to get it to refresh the changes I’ve made in the editor.

I wish I understood that process better. It often makes me doubt my code because I think I’ve fixed something, I preview and it still doesn’t work, and then I preview again and it does and I’m confused about what the cause and effect was.

---

<div class="post-metadata">

**Author:** ![bibbi](https://avatars.discourse-cdn.com/v4/letter/b/db5fbb/32.png) [@bibbi](https://community.thunkable.com/u/bibbi)\
**Post date:** [February 19, 2022, 10:34pm UTC](https://community.thunkable.com/t/unable-to-test-my-app-on-device/1742836/10 "2022-02-19T22:34:34Z")

</div>

hi

I also use firebase … 😒

---

<div class="post-metadata">

**Author:** ![leeristhkfpe4](https://avatars.discourse-cdn.com/v4/letter/l/4af34b/32.png) [@leeristhkfpe4](https://community.thunkable.com/u/leeristhkfpe4)\
**Post date:** [February 20, 2022, 4:33am UTC](https://community.thunkable.com/t/unable-to-test-my-app-on-device/1742836/11 "2022-02-20T04:33:25Z")

</div>

Hi Jared,

Yes, here’s a small app which has the same issue as my larger app, except for the fact that it isn’t crashing the small app… in the case of the small app, it just doesn’t work.

The problem seems to be that I can’t nest the Airtable call within the Realtime\_DB call. If I remove the Realtime\_DB1 call, the Airtable call works perfectly. Once I nest it within the Realtime\_DB call, nothing happens after I hit Button1.

Thanks for looking at this!

 ![Screen Shot 2022-02-19 at 11.28.01 PM](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/1/9/19a53c2abf76ff9ace56e9a201e54fdac7642041.png)

---

<div class="post-metadata">

**Author:** ![leeristhkfpe4](https://avatars.discourse-cdn.com/v4/letter/l/4af34b/32.png) [@leeristhkfpe4](https://community.thunkable.com/u/leeristhkfpe4)\
**Post date:** [February 22, 2022, 2:19pm UTC](https://community.thunkable.com/t/unable-to-test-my-app-on-device/1742836/12 "2022-02-22T14:19:22Z")

</div>

Agreed. I’ve been having issues all weekend. Sometimes it updates immediately, other times it takes up to a half hour. It makes debugging rather maddening!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/f/0f59f292712368bce16ff80133ae10de8a6f27e8.png) [@system](https://community.thunkable.com/u/system)\
**Post date:** [May 23, 2022, 2:20pm UTC](https://community.thunkable.com/t/unable-to-test-my-app-on-device/1742836/13 "2022-05-23T14:20:16Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
