after install, and upon opening kodi, it closes and i cant do anything

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.