cannot run chromecast app

半世苍凉 提交于 2019-12-11 17:27:34

问题


I am trying to the exact sample app (https://github.com/googlecast/CastHelloText-android) with my own package name, put the receiver code on my server.

I registered the app, and my device on the chromecast developer console.

When I try to launch the app, I get this error,

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:


Most likely your device was not correctly whitelisted. Did you check the box to send its serial number when you were setting up your chromecast? See this post in case it helps ...



来源:https://stackoverflow.com/questions/22515205/cannot-run-chromecast-app

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!