Youtube WatchMe android项目登录问题
我使用创建了实时流媒体应用程序。它安装在android手机上。如果我登录这个应用程序,我仍然会显示“未登录”消息。登录后,在android studio控制台中显示以下错误Youtube WatchMe android项目登录问题,android,ffmpeg,youtube-api,apk,live-streaming,Android,Ffmpeg,Youtube Api,Apk,Live Streaming,我使用创建了实时流媒体应用程序。它安装在android手机上。如果我登录这个应用程序,我仍然会显示“未登录”消息。登录后,在android studio控制台中显示以下错误 09-16 16:48:01.970 25937-3107/com.google.android.apps.watchme E/WatchMe﹕ com.google.api.client.googleapis.json.GoogleJsonResponseException: 403 Forbidden {
09-16 16:48:01.970 25937-3107/com.google.android.apps.watchme E/WatchMe﹕ com.google.api.client.googleapis.json.GoogleJsonResponseException: 403 Forbidden
{
"code": 403,
"errors": [
{
"domain": "usageLimits",
"message": "Access Not Configured. The API (YouTube Data API) is not enabled for your project. Please use the Google Developers Console to update your configuration.",
"reason": "accessNotConfigured",
"extendedHelp": "https://console.developers.google.com"
}
],
"message": "Access Not Configured. The API (YouTube Data API) is not enabled for your project. Please use the Google Developers Console to update your configuration."
}
at com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest.newExceptionOnError(AbstractGoogleJsonClientRequest.java:113)
at com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest.newExceptionOnError(AbstractGoogleJsonClientRequest.java:40)
at com.google.api.client.googleapis.services.AbstractGoogleClientRequest$1.interceptResponse(AbstractGoogleClientRequest.java:321)
at com.google.api.client.http.HttpRequest.execute(HttpRequest.java:1056)
at com.google.api.client.googleapis.services.AbstractGoogleClientRequest.executeUnparsed(AbstractGoogleClientRequest.java:419)
at com.google.api.client.googleapis.services.AbstractGoogleClientRequest.executeUnparsed(AbstractGoogleClientRequest.java:352)
at com.google.api.client.googleapis.services.AbstractGoogleClientRequest.execute(AbstractGoogleClientRequest.java:469)
at com.google.android.apps.watchme.util.YouTubeApi.getLiveEvents(YouTubeApi.java:155)
at com.google.android.apps.watchme.MainActivity$GetLiveEventsTask.doInBackground(MainActivity.java:312)
at com.google.android.apps.watchme.MainActivity$GetLiveEventsTask.doInBackground(MainActivity.java:295)
at android.os.AsyncTask$2.call(AsyncTask.java:288)
at java.util.concurrent.FutureTask.run(FutureTask.java:237)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:231)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
at java.lang.Thread.run(Thread.java:841)
我如何解决这个问题请帮助
此应用程序正在连接到YouTube Watch Me项目。是否可以使用客户端Id和客户端密码连接我的项目(如何将客户端Id配置到此应用程序?)
请建议您的项目未启用API(YouTube数据API)。我没有为此watchme应用程序配置任何项目。但我还是犯了这个错误?如何将我的项目客户端id配置到此项目?您是否知道android中的google console android中的google console?要使用此应用程序,请在您的google开发者控制台中启用
YouTube数据API v3
和google+API
。使用您的SHA1和包名为安卓创建客户端ID
。并列出了其他步骤。您的项目未启用API(YouTube数据API)。我没有为此watchme应用程序配置任何项目。但我还是犯了这个错误?如何将我的项目客户端id配置到此项目?您是否知道android中的google console android中的google console?要使用此应用程序,请在您的google开发者控制台中启用YouTube数据API v3
和google+API
。使用您的SHA1和包名为安卓创建客户端ID
。并列出了其他步骤。