Skip to content Skip to sidebar Skip to footer

Android Youtube Player Api - Error_connecting_to_service

I'm trying to use the new api youtube. I followed the examples provided, but I get the error: ERROR_CONNECTING_TO_SERVICE The 'API key' that I'm using is correct (since it works co

Solution 1:

Are you trying to start the 'Track' Activity as part of an ActivityGroup/TabActivity inside a TabHost? If so, unfortunately the YouTubePlayerView or YouTubePlayerFragment can't be initialized inside an ActivityGroup. Since the ActivityGroup is now deprecated, the only suggestion I can give is to use Fragments instead.


Post a Comment for "Android Youtube Player Api - Error_connecting_to_service"