Skip to content Skip to sidebar Skip to footer

Youtubeapi Illegalstateexception Player Has Been Released

I am using YoutubeAPI on my app but I am getting illegalstateexception of the following code.It says player has been released. How do I overcome this problem @Override protecte

Solution 1:

I overcome this issue by making videoPlayer null in onDestroy of Activity.


Post a Comment for "Youtubeapi Illegalstateexception Player Has Been Released"