Solution for Mac OS Sierra 10.12.3 upgrading installation from 17 to ‘kodi-17.1-Krypton-x86_64.dmg’
IDENTIFY THE ERROR
1. Open the ‘Console‘ app
2. In console, on the side bar ‘Reports‘, select ~/Library/logs
3. Select the ‘kodi.log’ and locate the ERROR (the middle of the each log entry has a descriptor, look for ERROR. For me the error was logged as “[Addons27.db] SQL error or missing database”)
ALLOW HIDDEN FILES TO BE SEEN
4. Open the ‘Terminal’ app
5. copy/paste this entry and hit enter: defaults write com.apple.finder AppleShowAllFiles YES
6. While holding down the option key, right click finder in the dock and select ‘Relaunch’
LOCATE & DELETE THE CORRUPTED FILE
7. Open a new finder window and go to this location; <your home folder>/Library/Application Support/Kodi/userdata/Database
8. You should be looking at a bunch of .db files. Delete the file that matches with the ERROR log (for me it was Addons27)
9. Keep the finder window open.
REBUILD MISSING DB FILE
10. Open the ‘Kodi’ app
11. You should see the deleted file be rebuilt on launch in the finder window.
Kodi should launch successfully.
Please reply if this WORKED for you.
I hope this helps until the developers uncover the mismatch within this db file between versions.
p.s if you want to return to having hidden folders and files open terminal again, copy/paste this into terminal and press enter; defaults write com.apple.finder AppleShowAllFiles NO
peace!