I get the runtime error java.lang.StackOverflowError: stack size 8188KB
when run my app on my phone.
I am developing this app on MIT App Inventor 2 main server (not on test-server).
I testing this app always on my phone by downloading the apk file from MIT App Inventor.
I examined the blocks and could not find a recursion. The error appears on the phone when the WHEN TaifuntextBox1.AFTERTEXTCHANGED component DO blocks play a role.
I tried using adb on my Debian 12 operating system.
I did run the adb logcat
command and
I saw that the line containing the AFTERTEXTCHANNGED text is repeated very quickly and very often until the stackoverflowerror message appears finally.
I do not notice any errors in the WHEN TaifuntextBox1.AftertextChanged block.
I attach the when TaifunTextbox1.AfterTextChanged block here:
Most probably in the after text changed event you change the text which triggers again the event, which changes again the text etc
If you are asking for help, I recommend you to make it as easy for others to be able to help you ...
You probably will get more feedback then...
which means in your case post a screenshot of your relevant blocks...
To download the aia file, upload it to App Inventor, open it, do some bug hunting for you, etc... this takes time, and most people will not do that...
Thank you.