I have developed an app and thoroughly tested all scenarios using the AI Companion app on my mobile. After completing the tests, I built the app, downloaded it, and tried running it. However, I am now encountering the following error:
The same app is working fine in the companion without any errors.
Can anyone help me troubleshoot this issue? Any suggestions would be greatly appreciated!
If there is any issue in the code, it has to be caught in the AI Companion app but here in my case, Companion app passed all the tests and issue is occurring in the .apk file in the mobile.
Can't do any more guessing, someone would need to see your project to advise further.
Look through the common runtime errors topic, check your startup routines, components and variables, and/or the routine that generates this error. There is probably a component or variable or list that needs to have at least a 0/Zero or "something" in it.
Expected Result : The current screen is to input the points and when clicked on Add, the screen has to navigate to other screen which maintains the points and adds up with the corresponding player.
Runtime error arises when pressing the Add button. This is caused, I believe, because your scoreboxes are empty, when (as I previously advised) they need to be at least 0/zero.
There are also issues with your logic, and it all seems very slow...
You are also not switching screens correctly, this will eventually lead to your app crashing
As we have advised, i would suggest you work through all your blocks on all your screens, and ensure that any textboxes or variables that will be used as numbers are initialised with 0 (if not already initialised with another number). You may want to set such textboxes as NumbersOnly as well...
Also, that use of global variable List_Combined as a screen start value is risky, and could fail in a debugging environment. You don't check if the global variable is a list and has enough items before you go selecting items 1 and 2 from it.