YouTube player for android crashes on ads playback

≯℡__Kan透↙ 提交于 2019-12-03 17:05:56

I encounter the same problem too using my Galaxy S4 with the latest version of youtube. I tried it on my Gnex which does not have the most recent version of youtube and of course everything works fine. seems like the last update made a mess.

Is there any other way to get their attention? is there a way to remove the latest update (just for now, to continue with the development) ?

And for a different topic, have you tried the getCurrentTimeMillis method more than once a second? do you get different time stamps or just the same when you call it more than once a second (say once every 100ms) ?

Thanks, Roy

septagon

Check your unfiltered logcat for a NullPointerException coming from com.google.android.apps.youtube.core.player.AdStatsMacros. If you can find such an error, you're probably having the same problem as I and this question are experiencing.

Youtube Player API android crashes on playback on some devices

I can confirm that this error has been introduced within the last seventy-two hours and caused a flawlessly-working app to crash whenever an ad tries to play. The error appears to be coming from deep inside the YouTube Player API jar. Nothing seems to be confirmed yet, but it looks like YouTube is trying something new on their API back-end and having some troubles.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!