Android YouTube API“初始化YouTube播放器时发生错误" [英] Android YouTube API "An error occurred while initializing YouTube player"

查看:818
本文介绍了Android YouTube API“初始化YouTube播放器时发生错误"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个Android应用程序,可以播放youtube视频.我正在使用最新的YouTube API(1.2.1).我在Android版本4.0.4、4.3、4.4.4或5.0内的多个设备上尝试过它,并且运行完美(每个设备上的YouTube应用版本都是10-..但是在一个设备上,Android 4.0.4和YouTube在哪里应用程式4.4.11版无法运作,并显示错误讯息「初始化YouTube播放器时发生错误.」在文件中记载,YouTube应用程式的最低需求版本为4.2.16.所以我不知道问题.

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?

非常感谢...

推荐答案

将您的Android youtube应用更新到最新版本,可以正常使用!

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

这篇关于Android YouTube API“初始化YouTube播放器时发生错误"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆