Bad arguments to Checked

When I downloaded my app APK file and opened it, it showed this error -

Does anyone know how to fix it?

Somewhere in your blocks you are setting a switch’s checked to incorrect argument. Use true or false only for switch checked

Is my code correct or not? -

here is your bug

you better set it to true or false depending on the initial value of your checkbox

1 Like