App getting crashed

Hey Koders, I don’t why my app is crashing. It is working fine in companion but whenever i tried to open apk it is showing App_Name Keeps stopping close app
I have also refer this post but not working. I’m using one spinner component, clock, notifier,activity starter

Did you checked everything mentioned in the topic and not left any field empty ?

If yes, then you may post the error logs

Hey @Anu10 I download adb , connected my phone to usb turned on usb debugging. Run adb from cmd then opened my app. So i got lots of log and they are not stoppinh. I can’t figure out which log is for my apk.
I saw some logs i think that might be the log for my app
or I’m posting my apk please let me know what is error
Math_Game.apk (9.2 MB)

22 11:19:21.762 959 1037 E WindowManager: win=Window{1dc64d u0 Splash Screen io.kodular.yitivix293.Math_Game EXITING} destroySurfaces: appStopped=false win.mWindowRemovalAllowed=true win.mRemoveOnExit=true win.mViewVisibility=0, caller=com.android.server.wm.AppWindowToken.destroySurfaces:756 com.android.server.wm.AppWindowToken.destroySurfaces:740 com.android.server.wm.WindowState.onExitAnimationDone:5660 com.android.server.wm.AppWindowAnimator.stepAnimationLocked:517 com.android.server.wm.AppWindowToken.stepAppWindowsAnimation:1763
09-22 11:19:21.762 959 984 D CustomFrequencyManagerService: FrequencyrequestList.getNextCStateDisableRequest, index: 6
09-22 11:19:21.763 959 984 D CustomFrequencyManagerService: releaseDVFSLockLocked : Getting Lock type frm List : DVFS_MIN_LIMIT frequency : 1469000 uid : 1000 pid : 959 tag : AMS_ACT_RESUME@CPU_MIN@55
09-22 11:19:21.763 959 984 D ActivityManagerPerformance: AMP_release() ACT_RESUME
09-22 11:19:21.763 959 1037 I WindowManager: Destroying surface #cd18212: Surface(name=Splash Screen io.kodular.yitivix293.Math_Game) called by com.android.server.wm.WindowStateAnimator.destroySurface:2660 com.android.server.wm.WindowStateAnimator.destroySurfaceLocked:1040 com.android.server.wm.WindowState.destroyOrSaveSurfaceUnchecked:3935 com.android.server.wm.WindowState.destroySurface:3881 com.android.server.wm.AppWindowToken.destroySurfaces:756 com.android.server.wm.AppWindowToken.destroySurfaces:740 com.android.server.wm.WindowState.onExitAnimationDone:5660 com.android.server.wm.AppWindowAnimator.stepAnimationLocked:517
09-22 11:19:21.763 364 406 I SurfaceFlinger: id=2678 Removed Splash Screen io.kodular.yitivix293.Math_Game[959]#0 (2/5)
09-22 11:19:21.763 959 984 D CustomFrequencyManagerService: acquireDVFSLockLocked : type : DVFS_MIN_LIMIT frequency : 1664000 uid : 1000 pid : 959 pkgName : AMS_RESUME_TAIL@CPU_MIN@47
09-22 11:19:21.764 959 984 D ActivityManagerPerformance: AMP_acquire() TAIL
09-22 11:19:21.764 959 984 D CustomFrequencyManagerService: FrequencyrequestList.getNextSchedTunePolicyRequest, index: 2
09-22 11:19:21.764 959 984 D CustomFrequencyManagerService: releaseDVFSLockLocked : Getting Lock type frm List : DVFS_MIN_LIMIT frequency : 2392000 uid : 1000 pid : 959 tag : AMS_APP_SWITCH@CPU_MIN@41
09-22 11:19:21.764 959 984 D ActivityManagerPerformance: AMP_release() APP_SWITCH
09-22 11:19:21.768 959 1037 D InputTransport: Input channel destroyed: fd=415
09-22 11:19:21.778 364 364 I Layer : id=2678 onRemoved Splash Screen io.kodular.yitivix293.Math_Game[959]#0
09-22 11:19:21.778 364 364 I BufferQueueConsumer: Splash Screen io.kodular.yitivix293.Math_Game[959]#0 disconnect(C)
09-22 11:19:21.797 959 1037 D ViewRootImpl@e491e4[Math_Game]: dispatchDetachedFromWindow
09-22 11:19:21.797 959 1037 D Surface : Surface::disconnect(this=0xbf24f000,api=2)
09-22 11:19:21.797 364 406 I BufferQueueProducer: Splash Screen io.kodular.yitivix293.Math_Game[959]#0 disconnect(P): api 2
09-22 11:19:21.798 959 1037 D GraphicBuffer: unregister, handle(0xc3d99b20) (w:1080 h:1920 s:1088 f:0x1 u:933)
09-22 11:19:21.798 959 1037 D InputEventReceiver: channel ‘1dc64d Splash Screen io.kodular.yitivix293.Math_Game (client)’ ~ Disposing input event receiver.
09-22 11:19:21.798 959 1037 D InputEventReceiver: channel ‘1dc64d Splash Screen io.kodular.yitivix293.Math_Game (client)’ ~NativeInputEventReceiver.
09-22 11:19:21.799 959 1037 W WindowManager: Failed looking up window callers=com.android.server.wm.WindowManagerService.windowForClientLocked:7016 com.android.server.wm.WindowManagerService.removeWindow:2156 com.android.server.wm.Session.remove:264
09-22 11:19:21.799 959 1037 D InputTransport: Input channel destroyed: fd=416
09-22 11:19:21.808 959 984 D PersonaManagerService: notifyActivityDrawn:u0:com.sec.android.app.launcher.activities.LauncherActivity
09-22 11:19:21.826 364 406 I BufferQueue: Splash Screen io.kodular.yitivix293.Math_Game[959]#0 ~BufferQueueCore
09-22 11:19:21.942 959 1100 D MdnieScenarioControlService: packageName : com.sec.android.app.launcher className : com.sec.android.app.launcher.activities.LauncherActivity
09-22 11:19:21.942 959 1100 V MdnieScenarioControlService: setUIMode from UI function(3)
09-22 11:19:21.961 2477 2861 W OpenGLRenderer: Incorrectly called buildLayer on View: WorkspaceCellLayoutChildren, destroying layer…

I got this logs from the apk you posted which is in almost apk which are crashing due to empty fields of the components :point_down:

So I am asking to check again those fields which are empty in Screen 1 or you can post a demo aia

java.lang.RuntimeException: Unable to start activity ComponentInfo{io.kodular.yitivix293.Math_Game/io.kodular.yitivix293.Math_Game.Screen1}: /tmp/1632290315468_0.5015679236750111-0/youngandroidproject/../src/io/kodular/yitivix293/Math_Game/Screen1.yail:85:50: unbound location null
	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3311)
	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3460)
	at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:83)
	at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
	at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2047)
	at android.os.Handler.dispatchMessage(Handler.java:107)
	at android.os.Looper.loop(Looper.java:224)
	at android.app.ActivityThread.main(ActivityThread.java:7590)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:539)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:950)
Caused by: /tmp/1632290315468_0.5015679236750111-0/youngandroidproject/../src/io/kodular/yitivix293/Math_Game/Screen1.yail:85:50: unbound location null
	at gnu.mapping.Location.get(Location.java:67)
	at io.kodular.yitivix293.Math_Game.Screen1.lambda19(Screen1.yail:85)
	at io.kodular.yitivix293.Math_Game.Screen1$frame.apply0(Screen1.yail:9)
	at gnu.expr.ModuleBody.applyN(ModuleBody.java:226)
	at gnu.expr.ModuleMethod.applyN(ModuleMethod.java:216)
	at gnu.kawa.functions.ApplyToArgs.applyN(ApplyToArgs.java:139)
	at gnu.mapping.ProcedureN.apply1(ProcedureN.java:31)
	at io.kodular.yitivix293.Math_Game.Screen1.$define(Screen1.yail:10265)
	at com.google.appinventor.components.runtime.Form.onCreateFinish2(SourceFile:503)
	at com.google.appinventor.components.runtime.Form.onCreateFinish(SourceFile:447)
	at com.google.appinventor.components.runtime.Form.onCreate(SourceFile:377)
	at android.app.Activity.performCreate(Activity.java:7893)
	at android.app.Activity.performCreate(Activity.java:7880)
	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1307)
	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3286)

Did you checked About Screen Title whether empty or not ?

I have checked but it is not working. does problem is in only screen1.

well i can’t share my aia