Android YouTube API "An error occurred while initializing YouTube player"

pojta picture pojta · Mar 18, 2015 · Viewed 23.5k times · Source

I have an android app, which allows to play youtube video. I am using the latest YouTube API (1.2.1). I try it on a several devices within android version 4.0.4, 4.3, 4.4.4 or 5.0 and it works perfect (on every device is YouTube app version 10.-. But on one device, where is android 4.0.4 and YouTube app version 4.4.11 it does not work and get an error "An error occurred while initializing YouTube player". In documentation is written, that the minimal required version of YouTube app is 4.2.16. So I don't know, where is the problem.

Does somebody have an idea, what is wrong or how can I fix it?

Thanks a lot...

Answer

Sourav Nanda picture Sourav Nanda · May 31, 2016

Update your Android youtube app to the latest version and it will work for Sure!!