【问题标题】:cannot run chromecast app无法运行 chromecast 应用程序
【发布时间】:2014-04-26 05:59:13
【问题描述】:

我正在尝试使用我自己的包名称的确切示例应用程序 (https://github.com/googlecast/CastHelloText-android),将接收​​器代码放在我的服务器上。

我在 chromecast 开发者控制台上注册了应用程序和我的设备。

当我尝试启动应用程序时,我收到此错误,

03-19 11:33:14.268: D/DeviceFilter(1060): Sending text message to chromecast: (ns=urn:x-cast:com.google.cast.tp.connection, dest=receiver-0) {"origin":{},"package":"gms_cast_mrp","type":"CONNECT"}
03-19 11:33:14.268: D/DeviceFilter(1060): Sending text message to chromecast: (ns=urn:x-cast:com.google.cast.receiver, dest=receiver-0) {"type":"GET_APP_AVAILABILITY","requestId":1,"appId":["69FFFAE0"]}
03-19 11:33:14.268: D/DeviceFilter(1060): onMessageReceived: gms_cast_mrp-21
03-19 11:33:14.268: D/DeviceFilter(1060): Received a protobuf: axm@426978b8
03-19 11:33:14.268: D/DeviceFilter(1060): Sending text message to chromecast: (ns=urn:x-cast:com.google.cast.tp.connection, dest=receiver-0) {"type":"CLOSE"}
03-19 11:33:14.268: D/DeviceFilter(1060): rejected device: "chromecast" (70e0019191420559fedfca4f6129b935)
03-19 11:33:14.278: D/CastSocket(1060): doTeardown with reason=0

【问题讨论】:

    标签: android chromecast


    【解决方案1】:

    很可能您的设备未正确列入白名单。您在设置 chromecast 时是否选中了发送序列号的复选框?如果有帮助,请参阅此post...

    【讨论】:

    • 是的,我确实发送了序列号。我会定期检查 chromecast 是否有效。
    • 只要您无法访问9222端口进行调试,您的设备就没有被列入白名单。如果已经有一段时间了,您可能需要仔细检查您的序列号等。
    • 我终于将我的 chromecast 列入白名单。我可以运行已发布的应用程序,但不能运行未发布的应用程序。它仍然显示被拒绝的设备。
    • 您如何验证您的设备是否已列入白名单?
    • 我之前只是假设我无法运行自己发布的应用程序,但现在可以
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2015-07-24
    • 1970-01-01
    • 2014-03-13
    • 2014-12-14
    • 2017-01-12
    • 2013-11-03
    • 1970-01-01
    相关资源
    最近更新 更多