Avoid Crashes of the Application for some of the components

Tired of Crashes of the application

Try this method may be this help you to avoid crash for the usage of following components or others with same properties

  • Floating Action Button

  • Radio Button

  • Switch Component

  • About Screen Title

  • List View Filter Bar Hint

  • Elements from String (Spinner)

  • Audio, Contact, Date, Email, Image, List, Phone Number, Time & Video Picker (Text Field)

  • Download Component

  • TinyDB

  • Wallpaper Component

  • Screenshot Component

  • Keyguard Manager

  • Sharing Component

  • Fingerprint Component

  • Image Editor

  • Admob Component

  • Spreadsheet Component

  • State Progress Bar


If using Floating ActionButton and left the material icon name field empty it will lead to the crash so to prevent it write any material icon name (eg.add) and compile now it won’t crash.

image


If using Radio Button and left the text field empty it will lead to the crash so to prevent it add some letters or just enter spacebar so it won’t remain empty and compile now it won’t crash.

image


About Screen Title & List View Filter Bar Hint should not be empty

Also if Switch Component Text Fields are empty it may lead to the crashes.

Description, Save File As, Title Fields of Download Component should not be empty

Thanks to @Boban for reporting these


Elements from String from Spinner should not be empty which also leads to the crash

image

Thanks to @dora_paz for reporting this


Text fields of Audio, Contact, Date, Email, Image, List, Phone Number, Time & Video Picker should not be empty

image


TinyDB Namespace field should not be empty

image

Thanks @Muhendis_Matematik for reporting this


Wallpaper Component’s Save Wallpaper As field should not be empty

image

File Name, Notification Share Title & Notification Title of Screenshot Component should not be empty

image

Description & Title Field of Keyguard Manager should not be empty

image

Sharing Component’s Share Dialog Message Field should not be empty

image

Dialog Help Text & Dialog Title fields of Fingerprint component should not be empty

image

Image Editor Component’s Save New Image As field should not be empty

image


Admob Component’s Consent Message & Consent Title should not be empty

image

Thanks @Zagal for reporting this


Spreadsheet Component’s View Name field should not be empty

image

Thanks @jimy_jonayker for reporting this


State Progress Bar’s Elements From String field should not be empty

image


This similar conditions applies for some of the extension properties also. So make sure you don’t left their properties empty.


Before this update even if leave this fields empty the app was not crashing but after the update it seems to crash.

You can leave text fields empty of the Label, Button & Text Box it won’t lead to crash.

Hope it will help someone who are facing issue with such components

Thank You :slightly_smiling_face:

48 Likes
Bug in Fenix 1.5.2 update
My app keep crashing when i open the app
Anyone can help me with this app its crashing on start
Web viewer error at Kodular Fenix 1.5.2
Apps Getting stop working Since new update is Released ...
Bugs after the new update!
Security Exception App Crash
App keeps crashing when triggering code
Bug in 1.5.2 Fenix App Crashes When Open Other Screen
My App Isn't Opening At All
App Crashed When Update Kodular
App that usually worked fine stops just at launch after some improvements
My app crashes when I open a specific screen .But works fine in kodular
Error after platform update
App Crash, yeah it's happening
When i click on my app it crash and did not open
Kodular Fenix Bug Affecting Many Koders
Chashing my screen
Errors, all with android 11, api30
After exporting the Apk and installing the application, I could not run it
After Installation APK always Crashes
Open another screen not work
App getting crashed
App Crashes When Opened but Works Well in Companion
My app stops when I want to proceed to the next screen
After the update my app crashes on install but works fine in companion
My app keeps stopping
My app get crashed
App goes crashed on Open another screen (to a particular screen)
Errors, all with android 11, api30
Today Kodular update brings WEB COMPONENTS PROBLEMS!
Application does not open
ADB shell command to perform clicks
Chashing my screen
Security Exception App Crash
Apk keeps stopping but runs in companion
After Installation APK always Crashes
My app keep crashing when i open the app
App Crashes When Opened but Works Well in Companion
Web viewer error at Kodular Fenix 1.5.2
APK installs but doesn't work. In Companion it works normal
Bug in Fenix 1.5.2 update
My app keep crashing when i open the app
App that usually worked fine stops just at launch after some improvements
OCR component having problems
The Canvas component crashes my application
Why can't I open an app that I've exported?
My App keeps stopping error pops up, when I try to open it closes
App does not start
Why does kodular crash with more than 500 blocks
App refresh/closes on Login Screen
App Crashing Problem
My app force closes
App Crashing Problem
Need help to optimize my blocks
App Crash on Android 11 Only
App is not opening after install
[APP Crashes] What I have done?
App not working after install
App Crashes on Android 11 device only
Published App is Crashing
Kodular App Crashed
Continuing the discussion from [Aab Package Play Store Publishing Problem]
Radio Button don't work, it crashed my app!
After Kodular new update my app is getting startup crash
"Application has stopped"
My app keep crashing when i open the app
App goes crashed on Open another screen (to a particular screen)
App Not Responding After Felix 1.5.3 Update
Very bad experience
App crashing or stopped
Error during screens change
App closing always
App is crashing on web view
My application carsh after this apdate why?

Thanks for the information :wink: :+1:

2 Likes

Good catch, I just saw that in one of my old projects, it was missing.

3 Likes

Thank you so much, I don’t know how to express my joy :heart:. From this post- After the update my app crashes on install but works fine in companion - #6 by Powertech_Development the problem is from my radio button as you said in your post, it works like magic, now my design is working as expected. Respect :+1:

2 Likes

A post was merged into an existing topic: My app keep crashing when i open the app

Ohh… Sorry… i too miss to read that reply. Apologize for my mistake and withdraws my word

2 Likes

List View - Filter Bar Hint

bild

2 Likes

Thanks again @Boban for helping and reporting those components which were leading to the crash :blush:

3 Likes

what about web component it doesn’t behave fine after fenix update or anything wrong with me only.
from yesterday my already existing apps which use web component for fetching data loads data in 1-3 minutes and also companion didn’t open it also takes 1-3 min and than crash. but when i turned on vpn everything works fine

2 Likes

Good Tips :+1:

2 Likes

In filled all text fields and switch button field …but screen doesn’t open…please help

1 Like

Check whether your About Screen Title is empty or not ?

2 Likes

Thank god …it’s working now …but i didn’t write in about screen in other screens …and why they are working fine

2 Likes

now my application has worked. the problem is that the tables in tinydb also do not write names.

4 Likes

I got mine fixed Making Tiny web db text field not empty, Thanks a lot, hard working community

2 Likes

hello, my app also quit. have already followed all things

1 Like

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

1 Like

Is there also a possibility to create a new project and to take over everything so that it can be used as an update?

1 Like

1

the second error that occurs in me is the download component. save file as should not be empty.

4 Likes

Thanks however, it’s all three av them, Description, Save File As, Title

bild

4 Likes