trying to run kodi first time. it closes right after in opens

please help.

The program installs fine as I get the installer from the official kodi website. Once it completes the installation I run the program and as soon it launches it shows me the message that kodi have stopped working. Since I can’t go beyond that message I can’t do anything.

https://pastebin.com/2rz6HJd6