Error in the app but not in the ai companian

hello, i have made a app and that works great in the ai companion but when i make it into a apk file and install it it gives the following error. why does it only give this error in the app and not when i test it whit the ai companion? what does this error mean and how do i solve this if i cant test is in the ai compagnion?

You are comparing an empty text against 0.

Look through your blocks for > tests.

This is caused by two things:

  • Empty Textbox.Text going into math comparisons
  • Blank TinyDB return values from first run tag not found. Use 0 as defaults for number values.

thank you i think that could be the problem, i have tinydb empty entrys.
i will change it and hope it will fix this problem