无法运行chromecast应用

时间:2014-03-19 18:37:03

标签: android chromecast

我正在尝试使用我自己的包名称的确切示例应用程序(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

1 个答案:

答案 0 :(得分:1)

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