My app keep crashing when i open the app

No, this problem is also occur when all the screen, components, assets, extensions are deleted and make the app fully blank. It’s the bug in Fenix 1.5.2 update. And the app must be created before the Fenix 1.5.2 update.

1 Like

Can you share a demo aia for check ?

this is the demo aia.
Demo.aia (1.4 KB)

I got my problem solved,
For me there had a Switch Component in app without any initial values, I Gave value for switch text off and on and now app works,
So pls check If there is any Radio button or floating action button or switch in your component lisT without any text, if you face this issue

2 Likes

Switch component have the same problem.

@SauVish About Screen Title vas empty

bild

@Anu10 Can you add this to your list

2 Likes

I who skipped that component

:man_facepalming: :man_facepalming: :man_facepalming:

Btw, Thanks @Seller_Newbie

Edit: @Anu10 add this one as well

1 Like

As we know , The component name can only contain number,letters,and underscores and must start with letter, and when we make any mistake in it , normally kodular will give a restriction, but some times it fails to do that, i had a " - " in one of my component name, It also created same problem, (App crashing), so pls check also the name of all of the component if you face this issue

2 Likes

Thank You Vvveeerrrryyyy Much @Boban you got it, makes me happy today. thats the real bug in Fenix 1.5.2. when i created a project in Fenix 1.5.1 the “about screen title” remains empty by default and in Fenix 1.5.2 it have some text by default and it is necessary in latest update also that why this error happens, no one catch that point. Thanks for your support @Boban :100: :+1:

1 Like

In my app, I gave value to the text of the radio button and filled “about screen title” but it still didn’t work.

Can anyone please explain what is wrong in this the logcat error?

Do you use spinner ?

image

1 Like

I do not use spinner

Do you use anything from this ?

or any component you are using having any empty text field ?

4 Likes

thank you @Anu10 it works for me.

1 Like

my app still doesn’t work. I have implemented the tips but unfortunately it does not work.

09-16 01:47:20.832 3776 3776 E AndroidRuntime: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.Baxolino.Akku.Manager/io.kodular.bgpsdr.BatteryManger.Screen1}: /tmp/1631727692618_0.37055352105743056-0/youngandroidproject/…/src/io/kodular/bgpsdr/BatteryManger/Screen1.yail:1473:45: unbound location null
09-16 01:47:20.832 3776 3776 E AndroidRuntime: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2666)
09-16 01:47:20.832 3776 3776 E AndroidRuntime: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2727)
09-16 01:47:20.832 3776 3776 E AndroidRuntime: at android.app.ActivityThread.-wrap12(ActivityThread.java)
09-16 01:47:20.832 3776 3776 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1478)
09-16 01:47:20.832 3776 3776 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:102)
09-16 01:47:20.832 3776 3776 E AndroidRuntime: at android.os.Looper.loop(Looper.java:154)
09-16 01:47:20.832 3776 3776 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:6121)
09-16 01:47:20.832 3776 3776 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
09-16 01:47:20.832 3776 3776 E AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:889)
09-16 01:47:20.832 3776 3776 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:779)
09-16 01:47:20.832 3776 3776 E AndroidRuntime: Caused by: /tmp/1631727692618_0.37055352105743056-0/youngandroidproject/…/src/io/kodular/bgpsdr/BatteryManger/Screen1.yail:1473:45: unbound location null
09-16 01:47:20.832 3776 3776 E AndroidRuntime: at gnu.mapping.Location.get(Location.java:67)
09-16 01:47:20.832 3776 3776 E AndroidRuntime: at io.kodular.bgpsdr.BatteryManger.Screen1.lambda403(Screen1.yail:1473)
09-16 01:47:20.832 3776 3776 E AndroidRuntime: at io.kodular.bgpsdr.BatteryManger.Screen1$frame.apply0(Screen1.yail:69)
09-16 01:47:20.832 3776 3776 E AndroidRuntime: at gnu.expr.ModuleBody.applyN(ModuleBody.java:226)
09-16 01:47:20.832 3776 3776 E AndroidRuntime: at io.kodular.bgpsdr.BatteryManger.Screen1$frame.applyN(Screen1.yail)
09-16 01:47:20.832 3776 3776 E AndroidRuntime: at gnu.expr.ModuleMethod.applyN(ModuleMethod.java:216)
09-16 01:47:20.832 3776 3776 E AndroidRuntime: at gnu.kawa.functions.ApplyToArgs.applyN(ApplyToArgs.java:139)
09-16 01:47:20.832 3776 3776 E AndroidRuntime: at gnu.mapping.ProcedureN.apply1(ProcedureN.java:31)
09-16 01:47:20.832 3776 3776 E AndroidRuntime: at io.kodular.bgpsdr.BatteryManger.Screen1.$define(Screen1.yail:10265)
09-16 01:47:20.832 3776 3776 E AndroidRuntime: at com.google.appinventor.components.runtime.Form.onCreateFinish2(SourceFile:503)
09-16 01:47:20.832 3776 3776 E AndroidRuntime: at com.google.appinventor.components.runtime.Form.onCreateFinish(SourceFile:447)
09-16 01:47:20.832 3776 3776 E AndroidRuntime: at com.google.appinventor.components.runtime.Form.onCreate(SourceFile:377)
09-16 01:47:20.832 3776 3776 E AndroidRuntime: at android.app.Activity.performCreate(Activity.java:6739)
09-16 01:47:20.832 3776 3776 E AndroidRuntime: at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1118)
09-16 01:47:20.832 3776 3776 E AndroidRuntime: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2619)
09-16 01:47:20.832 3776 3776 E AndroidRuntime: … 9 more

Which components you are using in Screen 1 ?

Are they having any empty text field ?

Did you checked your about screen title is empty or not ?


about screen title is not empty

Which components using ? Those are extensions :upside_down_face:

I have very many should I upload the aia file