疑難排解
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
Web Receiver 在 Android TV 上開啟
如果 Web Receiver 在 Android TV 中開啟,而不是意外開啟原生應用程式,請回答幾個問題來排解問題:
應用程式是從 Play 商店安裝嗎?
如果沒有,請查看 Android TV 裝置的軟體序號 (而非裝置的硬體序號),確認該裝置是否已在列出接收者 ID 的同一個 Cast 開發人員控制台中列出。如果裝置不在清單中,請參閱註冊頁面的操作說明,瞭解如何註冊裝置。
序號可能變動。此為軟體序號,而非裝置上寫入的序號。
您在記錄檔中是否看到 APP_NOT_INSTALLED_BY_WHITELISTED_INSTALLER
或 INSTALLER_NOT_WHITELISTED
錯誤?
這些錯誤表示應用程式是從不受信任的來源 (非 Play 商店) 安裝,且軟體序號和接收器 ID 未在相同的 Cast 開發人員控制台中正確註冊。
同一個 Cast 開發人員控制台是否列出您的裝置軟體序號和接收器?
裝置序號和接收器 ID 都必須列在相同的 Cast 開發人員控制台中。
如需找出裝置軟體序號的操作說明,請參閱
註冊頁面。
裝置軟體序號是否正確?
用於 Cast 的 Android TV 裝置軟體序號與裝置硬體序號不同,因此可能會變更。
如需找出裝置軟體序號的操作說明,請參閱
註冊頁面。
通訊端應用程式是否已啟用 Cast Connect?
按照「寄件者應用程式設定」一節的詳細說明,確認已安裝的傳送者應用程式已啟用 Cast Connect 支援。
你的 Android TV 應用程式是否LaunchRequestChecker
適用?
如果是的話,請嘗試移除 LaunchRequestChecker
,看看應用程式是否可正確啟動原生 Android TV 接收器。如果問題已經解決,您可能需要修正啟動檢查工具邏輯或登入傳送者應用程式。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2023-12-02 (世界標準時間)。
[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["缺少我需要的資訊","missingTheInformationINeed","thumb-down"],["過於複雜/步驟過多","tooComplicatedTooManySteps","thumb-down"],["過時","outOfDate","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["示例/程式碼問題","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2023-12-02 (世界標準時間)。"],[[["If the Web Receiver opens instead of your native app, ensure your Android TV's software serial number is registered in the same Cast Developer Console as your receiver ID."],["Apps installed from untrusted sources may cause issues; ensure installation is from the Play Store and the device is registered in the Cast Developer Console."],["Verify your sender app is Cast Connect enabled and that the package name listed in the Cast Developer Console matches the installed app."],["Consider removing your `LaunchRequestChecker` temporarily to test if it's hindering the native app launch, and adjust its logic or sender app login if necessary."]]],["When the Web Receiver launches on Android TV instead of the native app, troubleshoot by verifying several points. First, if the app wasn't from the Play Store, ensure the device's software serial number and receiver ID are in the same Cast Developer Console. Check for `APP_NOT_INSTALLED_BY_WHITELISTED_INSTALLER` or `INSTALLER_NOT_WHITELISTED` errors. Confirm the software serial number is correct, and differs from the hardware one. Ensure Cast Connect is enabled in the sender app. Verify the package name in the Cast Developer Console matches the app. Lastly, try removing the `LaunchRequestChecker`.\n"]]