Apk Build Error

How can I solve this problem?

Kodular is unable to compile this project.
The compiler error output was
________Preparing application icon
________Creating animation xml
________Creating fragment xml
________Creating listview xml in res/layout/..
________Creating listview xml in res/layout-v21/..
________Creating xml in res/drawable/..
________Creating splash png in res/drawable/..
________Creating colors xml
________Creating styles xml
________Creating drawables xml v21
________Checking for firebase
________Creating provider_path xml
________Creating network_security_config xml
________Generating adaptive icon file
________Generating round adaptive icon file
________Generating adaptive icon background file
________Generating manifest file
________Attaching native libraries
________Attaching Android Archive (AAR) libraries
________Attaching component assets
________Invoking AAPT
AAPT time: 1.124 seconds
________Compiling source files
(compiling io/kodular/p/RR/Screen1.yail to io.kodular.p.RR.Screen1)
ERROR: io/kodular/p/RR/Screen1.yail line 8: caught exception in inline-compiler for #<procedure gnu.kawa.functions.AppendValues> - java.lang.Error: at PC 246: SP at end of 'then' was 5 while SP at end of 'else' was 0
gnu.bytecode.CodeAttr.emitFi(CodeAttr.java:1906)
gnu.expr.IfExp.compile(IfExp.java:135)
gnu.expr.IfExp.compile(IfExp.java:52)
gnu.expr.Expression.compileNotePosition(Expression.java:156)
gnu.expr.Expression.compileWithPosition(Expression.java:127)
gnu.kawa.functions.AppendValues.compile(AppendValues.java:43)
gnu.expr.ApplyExp.inlineCompile(ApplyExp.java:586)
gnu.expr.ApplyExp.compile(ApplyExp.java:173)
gnu.expr.ApplyExp.compile(ApplyExp.java:110)
gnu.expr.Expression.compileNotePosition(Expression.java:156)
gnu.expr.Expression.compileWithPosition(Expression.java:142)
gnu.expr.LambdaExp.compileBody(LambdaExp.java:1619)
gnu.expr.Compilation.generateBytecode(Compilation.java:2107)
gnu.expr.Compilation.process(Compilation.java:1984)
gnu.expr.ModuleInfo.loadByStages(ModuleInfo.java:330)
gnu.expr.ModuleInfo.loadByStages(ModuleInfo.java:315)
kawa.repl.compileFiles(repl.java:783)
kawa.repl.processArgs(repl.java:412)
kawa.repl.main(repl.java:827)
Kawa compile time: 1.69 seconds
.

resim

I guess this is the problem.

Edit: (X) The problem is not caused by that.

Show us your procedure blocks from screen1

Fixed some blocks and the Problem was fixed after about 4 hours.

image