Problems upgrading to Krypton?

After upgrading my Linux Mint box to Krypton, I got the “unable to create application. Exiting” error.

Turned out I had to delete/rename the ~/.kodi folder to get it to run.

There goes 2 hours of my life I’ll never get back!

Hope this helps someone.