Behavior experienced
I have checked Kodular Fenix (v1.5.0) Bug Tracker before creating this topic
My project is continually crashing with unbound location null
being the main cause taken from adb logcat
. Oddly this behavior can’t be reproduced in the companion.
Reproduction
- Set
text off
ortext on
to empty for a switch component - Test the result in a compiled project (.apk)
Other details
Screen1.yail
;;; Switch1
(add-component Vertical_Arrangement1 com.google.appinventor.components.runtime.SwitchToggle Switch1
(set-and-coerce-property! 'Switch1 'TextOff "Text off" 'text)
(set-and-coerce-property! 'Switch1 'TextOn null 'text)
(set-and-coerce-property! 'Switch1 'Width -2 'number)
)