[Deprecated] 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:

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

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