Upgrade to the latest version of the Android YouTube API

橙三吉。 提交于 2019-12-18 09:44:28

问题


The Android App does using YoutubeBaseActivity does not play video.

The Log is same with the title.

"Cannot load modern controls UI. Upgrade to the latest version of the Android YouTube API."

I think it is because I have updated the Youtube App. Videos have played with no problem after I deleted the Youtube App Updates.

But this is not the solution. Many people installed this app from Google Play Market and are using it. Is it a problem of Google not supporting newest Android Youtube API? Should I wait for API updates?


回答1:


You should use gradle for your dependencies. This is the last version:

repositories {
    mavenCentral()
}

dependencies {
    compile 'com.google.apis:google-api-services-youtube:v3-rev171-1.20.0'
}



回答2:


I found the answer myself!

The answer is that "Delete the Youtube video and upload it again."

I tried to install the Youtube API sample app. And found that some videos are well done but some are not. I assume that the process of uploading videos has changed (just my opinion).

Thank you for all your attension and answers.



来源:https://stackoverflow.com/questions/37020698/upgrade-to-the-latest-version-of-the-android-youtube-api

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