Kodi problem Apple tv 2

I did not use my Apple TV more than a year,ATV flash have installed but Kodi not.After I installed Kodi 14.2,when I launch it restart the Apple tv.