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


EDIT: You don’t need to follow this anymore, seems the issue has been fixed with the Kodular Fenix 1.5.4 update :smiley:


Thank You :slightly_smiling_face:

80 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
Apps Getting stop working Since new update is Released ...
Web viewer error at Kodular Fenix 1.5.2
Bugs after the new update!
Errors, all with android 11, api30
My app keeps stopping
Open another screen not work
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 stops when I want to proceed to the next screen
My app crashes when I open a specific screen .But works fine in kodular
Error after platform update
App Crash, yeah it's happening
Security Exception App Crash
When i click on my app it crash and did not open
App keeps crashing when triggering code
Chashing my screen
Kodular Fenix Bug Affecting Many Koders
APK can't open after Kodular update
After exporting the Apk and installing the application, I could not run it
After Installation APK always Crashes
App getting crashed
App Crashes When Opened but Works Well in Companion
Help me in loading the second screen properly
After the update my app crashes on install but works fine in companion
APK can't open after Kodular update
App when installed does not work
The app is running out
App Stop airtable
The app does not start
Problem in making Bluetooth remote for Arduino robot (urgent)
App is automatically closing
Could you help me to fix the app was stoped
My app CRASH in initialize
Error from Companion: java.lang.NoClassDefFoundError: Failed resolution of: Landroid/support/v4/view/AccessibilityDelegateCompat;
Cannot launch my app
Blank screen when starting app
App crashing at first launch
Help, crash after install
I can't Open my APK file in Mobile
Application Close at Start
AAPT Compilation Error
App getting closed on opening
Problem to open apk on Android Phone
Problem to open apk on Android Phone
My app is not starting after installing it. Continously crashing (No extention used)
My app screen getting crash
Unknown error while compiling. Java Message
[Guide] App not open / open button disabled after install
Crash on build after it worked fine previously
App Automatically closes (Not while testing in companion)
App Automatically closes (Not while testing in companion)
My app is automatically closing and crashing - aia attached any one please help
My app suddenly not responding upon export
My app don't open
My app when I install and open it closes and opens again in cycle
The app is always shutting down after the latest kodular update, and I don't know why
The application stopped working on some phones
After Updating Android 12 In Google Play Store
After update android 12 my app is crashed
After update android 12 my app is crashed
App crash (apk)
My App Freeze When Opening for 1 - 2 minutes
Exporting Aab bundle error
The companion closes as soon as the app starts
WebView My App Won't Open!
It's not working why
App crash unbound location null
Please take a look at my block, it's crashing
My app is crashing
App crash and bugs!
My app is crashing
Blank White Screen/App Crash while opening login screen to Home Screen
App installs but closes when opened, but runs with the companion
Help: Error updating the app, it closes
Android 11 and Api 30
How to Enable Deeplinks in Webview
App Closed Automatically [ Help Me ]
App Not Opening After Update
App Not Opening After Update
App is not opening after install
My app keep crashing when i open the app
The application closes by itself
The application closes by itself
App Not Responding After Fenix 1.5.3 Update
After exporting APK my app is not working it showing that "UNFORTUNATELY APP HAS STOPPED"
Exported apk is not working of old project with no changes or update
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
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?
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
App that usually worked fine stops just at launch after some improvements
Bug in Fenix 1.5.2 update
My app keep crashing when i open the app
My app force closes
My app keeps crashing
YAIL compiler - DX execution failed.after updating to Fenix 1.5.4
My app is crashing and I dont know the reason for it
My app is crashing and I dont know the reason for it
Can't install the app
My app's apk is doesn't working after install
Problem with my app
My app closes when opening the Screen
Application closes when opening screen 5
only one screen run
App crash when open
ListPermission: with this extension it is possible to make a whitelist at once
My app crashes on google play because of adMob
Screen closes itself when opening it, but only in the .apk
Problems jumping from skin to skin.
My App Crashes Whenever clicked Button
Force close app after upload
Problem opening the screen The application crashes when opening a specific screen
Application does not open screen 2
Application does not open screen 2
Switch Button Bug
How to make a chat app using Firebase
Kodular fenix apk problem
How to solve this deeplink problem
App screen not opening
Execution error
Exporting .aab bundle error
App crashes when new screen is opened, but works fine in companion
App crashes when new screen is opened, but works fine in companion
How do you fix it?
App stop responding
App Automatically close after splash screen
App Automatically close after splash screen
Plz help me to fix this

Thanks for the information :wink: :+1:

3 Likes

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

6 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:

3 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

3 Likes

List View - Filter Bar Hint

bild

3 Likes

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

4 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

3 Likes

Good Tips :+1:

3 Likes

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

2 Likes

Check whether your About Screen Title is empty or not ?

3 Likes

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

3 Likes

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

6 Likes

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

3 Likes

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

2 Likes

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

2 Likes

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

2 Likes

1

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

5 Likes

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

bild

5 Likes