My app keeps crashing After export apk

When I am testing with a companion then works fine but after export apk and open the home screen then has an app crash


Any solution to fix this problem


After crash bug note…

java.lang.RuntimeException: Unable to start activity ComponentInfo{com.malist/io.kodular.ashishlambat5.MaListe2.Wish}: /tmp/1631789348506_0.7731300448244179-0/youngandroidproject/../src/io/kodular/ashishlambat5/MaListe2/Wish.yail:24:52: 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:7592)
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/1631789348506_0.7731300448244179-0/youngandroidproject/../src/io/kodular/ashishlambat5/MaListe2/Wish.yail:24:52: unbound location null
at gnu.mapping.Location.get(Location.java:67)
at io.kodular.ashishlambat5.MaListe2.Wish.lambda15(Wish.yail:24)
at io.kodular.ashishlambat5.MaListe2.Wish$frame.apply0(Wish.yail:14)
at gnu.expr.ModuleMethod.apply0(ModuleMethod.java:186)
at kawa.lang.Promise.force(Promise.java:27)
at kawa.lang.Promise.force(Promise.java:37)
at kawa.lib.misc.force(misc.scm:98)
at io.kodular.ashishlambat5.MaListe2.Wish.$define(Wish.yail:10307)
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:386)
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)
… 11 more

1 Like

Refer to any of the threads that already exist.