Initializing SQLite Database

I have a problem initializing SQLite Database in my Main activity

used “internal val dbHandler = DatabaseHandler(this)”
NB: DatabseHandler is my Database class

Your request is Android SDK related, while this is a forum about the Kotlin language.

Also you did not gave us any information at all about your error and which libraries you are using. Furthermore please use backticks to highlight your code as shown here.