问题描述
我已经设置了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.
我还尝试将内部应用程序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";的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!