Risoluzione dei problemi
Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
Il ricevitore web si apre su Android TV
Se inaspettatamente il ricevitore web si apre su Android TV anziché sulla tua app nativa, rispondi a qualche domanda per risolvere il problema:
L'app è stata installata dal Play Store?
In caso contrario, controlla il numero di serie del software del dispositivo Android TV (NON il numero di serie dell'hardware sul dispositivo) per verificare che sia indicato correttamente nella stessa Console per gli sviluppatori di Google Cast in cui è indicato il tuo ID ricevitore. Consulta la pagina di registrazione per istruzioni su come registrare il tuo dispositivo se non è elencato.
Questo numero di serie può cambiare. Si tratta di un numero di serie del software
e non è quello scritto sul dispositivo.
Vedi errori APP_NOT_INSTALLED_BY_WHITELISTED_INSTALLER
o INSTALLER_NOT_WHITELISTED
nei log?
Questi errori indicano che l'app è stata installata da una fonte non attendibile
(non dal Play Store) e che il numero di serie del software e l'ID destinatario non sono registrati correttamente nella stessa
Console per gli sviluppatori di Google Cast.
Il numero di serie del software e l'ID ricevitore del dispositivo sono elencati nella stessa Console per gli sviluppatori di Google Cast?
Sia il numero di serie del dispositivo sia l'ID del ricevitore devono essere elencati nella stessa Console per gli sviluppatori di Google Cast.
Consulta la
pagina di registrazione per istruzioni su come trovare il numero di serie del software del dispositivo.
Il numero di serie del software del dispositivo è corretto?
Il numero di serie del software del dispositivo Android TV utilizzato per Cast è diverso dal numero di serie dell'hardware indicato sul dispositivo e può cambiare.
Consulta la
pagina di registrazione per istruzioni su come trovare il numero di serie del software del dispositivo.
L'app del mittente è compatibile con Cast Connect?
Assicurati che nell'app del mittente installata sia attivato il supporto di Cast Connect, come descritto nella sezione relativa alla configurazione dell'app del mittente.
Hai un LaunchRequestChecker
per
la tua app Android TV?
In questo caso, prova a rimuovere LaunchRequestChecker
per verificare se
l'app avvia correttamente il ricevitore Android TV nativo. Se questo risolve il problema, potresti dover correggere la logica di controllo del lancio o accedere all'app del mittente.
Salvo quando diversamente specificato, i contenuti di questa pagina sono concessi in base alla licenza Creative Commons Attribution 4.0, mentre gli esempi di codice sono concessi in base alla licenza Apache 2.0. Per ulteriori dettagli, consulta le norme del sito di Google Developers. Java è un marchio registrato di Oracle e/o delle sue consociate.
Ultimo aggiornamento 2025-07-25 UTC.
[null,null,["Ultimo aggiornamento 2025-07-25 UTC."],[[["\u003cp\u003eIf 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.\u003c/p\u003e\n"],["\u003cp\u003eApps installed from untrusted sources may cause issues; ensure installation is from the Play Store and the device is registered in the Cast Developer Console.\u003c/p\u003e\n"],["\u003cp\u003eVerify your sender app is Cast Connect enabled and that the package name listed in the Cast Developer Console matches the installed app.\u003c/p\u003e\n"],["\u003cp\u003eConsider removing your \u003ccode\u003eLaunchRequestChecker\u003c/code\u003e temporarily to test if it's hindering the native app launch, and adjust its logic or sender app login if necessary.\u003c/p\u003e\n"]]],["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"],null,["# Troubleshooting\n\nWeb Receiver opens on the Android TV\n------------------------------------\n\nIf the Web Receiver opens on the Android TV instead of your native app\nunexpectedly, answer a few questions to troubleshoot the issue: \n\n#### Was the app installed from the Play Store?\n\nIf not, check the software serial number of your Android TV device (NOT\nthe hardware serial number on the device) to see if it is properly listed\nin the **same\n[Cast Developer Console](https://cast.google.com/publish)\nthat your receiverID is listed** . See the\n[registration page](/cast/docs/registration#devices) for\ninstructions on how to register your device if it is not listed.\n\n**This serial number can change. It is a software serial number\nand is not the one written on the device.** \n\n#### Do you see an\n`APP_NOT_INSTALLED_BY_WHITELISTED_INSTALLER` or\n`INSTALLER_NOT_WHITELISTED` errors in the logs?\n\nThese errors indicate that the app was installed from an untrusted source\n(not the Play Store) and that the software serial number and receiverID\nare not properly registered in the same\n[Cast Developer Console](https://cast.google.com/publish). \n\n#### Is your device software serial number and receiverID\nlisted in the same Cast Developer Console?\n\nBoth the device serial number and your receiver's ID need to be listed\nin the same\n[Cast Developer Console](https://cast.google.com/publish).\n\nSee the [registration page](/cast/docs/registration#find_device_serial_number)\nfor instructions on how to find your device's software serial number. \n\n#### Is your device software serial number correct?\n\nThe software serial number of your Android TV device used for Cast is\ndifferent from its hardware serial number listed on the device and can\nchange.\n\nSee the [registration page](/cast/docs/registration#find_device_serial_number)\nfor instructions on how to find your device's software serial number. \n\n#### Is your sender app Cast Connect enabled?\n\nEnsure that the installed sender app has Cast Connect support enabled as\ndetailed in the\n[sender app setup](/cast/docs/android_tv_receiver/core_features#sender_app_setup)\nsection. \n\n#### Is your Android TV app's package name properly\nlisted in the Cast Developer Console?\n\nEnsure that the package name in the\n[Cast Developer Console](https://cast.google.com/publish), as\nshown in the\n[Cast Developer Console setup](/cast/docs/android_tv_receiver/core_features#cast_developer_console_setup)\nsection, matches the app installed on your Android TV. \n\n#### Do you have a `LaunchRequestChecker` for\nyour Android TV app?\n\nIf so, try removing your `LaunchRequestChecker` to see if your\napp properly launches the native Android TV receiver. If this fixes your\nissue, you may need to fix your launch checker logic or log in to the\nsender app."]]