Chromecast"StartApplicationRequest失败,状态:-4"; [英] Chromecast "StartApplicationRequest failed with status: -4"

查看:78
本文介绍了Chromecast"StartApplicationRequest失败,状态:-4";的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经设置了Chromecast SDK,将我的设备列入了白名单,并且正在以我在白名单请求中提供的网址运行网络服务器.

I've set up the Chromecast SDK, whitelisted my device, and am running web servers at the URLs I provided in the whitelist request.

chromecast井字游戏应用程序可以在默认应用程序ID为"TicTacToe"的情况下正常运行 ,但将其更改为我自己的名称:"1813060e-33c5-41dc-b356- 0d2bad12497f"或"1813060e-33c5-41dc-b356-0d2bad12497f_1"无效.

The chromecast tic tac toe app works fine with the default app id "TicTacToe", however changing it to my own: "1813060e-33c5-41dc-b356-0d2bad12497f" or "1813060e-33c5-41dc-b356-0d2bad12497f_1" does not work.

服务器url已启动并在 http://chromecast.clockworkmod.com/上运行,但没有Chromecast正在对其进行请求. chromecast不显示任何内容.但是,我在日志中遇到了一些错误.

The server url is up and running at http://chromecast.clockworkmod.com/, but no requests are being made to it by Chromecast. The chromecast doesn't display anything. However I get a few errors in the log.

这是logcat.

W/StartSessionTask(15590):StartApplicationRequest失败,状态为: -4 E/ApplicationSession(15590):StartSessionTask失败,并显示错误:无法启动应用程序:请求失败D/GameActivity(15590): 启动会话失败:无法启动应用程序:请求失败

W/StartSessionTask(15590): StartApplicationRequest failed with status: -4 E/ApplicationSession(15590): StartSessionTask failed with error: failed to start application: request failed D/GameActivity(15590): start session failed: failed to start application: request failed

我还尝试将内部应用程序ID与我提供的开发网址一起使用,http://192.168.1.2:3000/

I've also tried using the internal app id with the dev url I had provided, http://192.168.1.2:3000/

推荐答案

我在这里找到了答案:

无法转换为列入白名单的接收者应用

使用Macbook上的Chromecast应用,我进入了设置.

Using the Chromecast app on my Macbook, I went into Settings.

  • 在检查更新时发送序列号
  • 使用Mac更新应用重新启动设备

这为我解决了错误.除非您在更新检查期间发送序列号,否则chromecast不会知道它是否已列入白名单.

This resolved the error for me. The chromecast doesn't know if it is whitelisted unless you send the serial during update checks.

这篇关于Chromecast"StartApplicationRequest失败,状态:-4";的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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