When creating a checkbox in Android Studio, it gives an error
"exception raised during rendering: Binary XML file line # -1: error inflating class"
Version of the API downgraded, does not help, or gives a rendering error, or does not display the checkbox at all on the preview.