# Bug? Empty variable in apk

**URL:** <https://community.thunkable.com/t/bug-empty-variable-in-apk/619047>\
**Category:** Questions about Thunkable X\
**Created:** [June 16, 2020, 3:50pm UTC](https://community.thunkable.com/t/bug-empty-variable-in-apk/619047 "2020-06-16T15:50:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![max.langoscor0rmb](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/max.langoscor0rmb/32/70511_2.png) [@max.langoscor0rmb](https://community.thunkable.com/u/max.langoscor0rmb)\
**Post date:** [June 16, 2020, 3:50pm UTC](https://community.thunkable.com/t/bug-empty-variable-in-apk/619047/1 "2020-06-16T15:50:06Z")

</div>

Hi, I am not sure why, but in my app, the Live view works just fine, but when I create the apk and upload it to the mobile, the app gets stuck at the login screen with this solution:

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/3/e/3e4c6522cd13172cc0c8715e7af6c5fbf1550a5f.png)

while it works perfectly well with this (workaround) solution:  
 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/1/d/1dd6fef198b1e03c7817b4832b3d82b259a43d63.png)

I repeat: the app works well with both solutions in the Live view, but the first approach breaks down in the apk.

Something to do with the “empty” variable…?  
Cheers!

---

<div class="post-metadata">

**Author:** ![ryan\_hall\_apps](https://avatars.discourse-cdn.com/v4/letter/r/f6c823/32.png) [@ryan\_hall\_apps](https://community.thunkable.com/u/ryan_hall_apps)\
**Post date:** [June 16, 2020, 7:52pm UTC](https://community.thunkable.com/t/bug-empty-variable-in-apk/619047/2 "2020-06-16T19:52:05Z")

</div>

Instead of checking if they are empty try checking if they are equal to “null”.

---

<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, 11:25am UTC](https://community.thunkable.com/t/bug-empty-variable-in-apk/619047/3 "2024-11-08T11:25:44Z")

</div>


