i am coding a sudoku application in the kotlin language, but as an example, one of the old versions of the kotlin language found in the youtube video I watched gives an error even if I write the exact same code, and I don’t know how to write it in the new version, I will add error messages and parts with errors below
these are functions
main class
i have to import kotlinx.android.synthetic.main.activity_play_sudoku.* but this is giving me another error
enter image description here
in the comments, build after 2021.it says that I should add ‘id: kotlin-android-extensions’ to the gradle plugins section, but it also gives an error when I type it as it is
enter image description here
i tried to ask chatgpt
saliha is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.