Rozwiązywanie problemów
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Odbiornik internetowy otwiera się na Androidzie TV
Jeśli odbiornik internetowy otwiera się nieoczekiwanie na Androidzie TV zamiast w aplikacji natywnej, odpowiedz na kilka pytań, aby rozwiązać problem:
Czy aplikacja została zainstalowana ze Sklepu Play?
Jeśli nie, sprawdź numer seryjny oprogramowania swojego urządzenia z Androidem TV (A NIE numer seryjny urządzenia), aby zobaczyć, czy jest on prawidłowo wymieniony w tej samej konsoli programisty Cast, na której jest wymieniony Twój identyfikator odbierania. Na stronie rejestracji znajdziesz instrukcje, jak zarejestrować urządzenie, jeśli nie ma go na liście.
Ten numer seryjny może się zmienić. Jest to numer seryjny oprogramowania, a nie numer zapisany na urządzeniu.
Czy w logach widzisz błędy APP_NOT_INSTALLED_BY_WHITELISTED_INSTALLER
lub INSTALLER_NOT_WHITELISTED
?
Te błędy oznaczają, że aplikacja została zainstalowana z niezaufanego źródła (nie ze Sklepu Play), a numer seryjny oprogramowania i identyfikator odbierania nie są prawidłowo zarejestrowane w tej samej konsoli programisty Cast.
Czy numer seryjny oprogramowania urządzenia i identyfikator odbierania są wymienione w tej samej konsoli programisty Cast?
Zarówno numer seryjny urządzenia, jak i identyfikator odbiorcy muszą być podane w tej samej konsoli programisty Cast.
Na
stronie rejestracji znajdziesz instrukcje, jak znaleźć numer seryjny oprogramowania urządzenia.
Czy numer seryjny oprogramowania urządzenia jest prawidłowy?
Numer seryjny oprogramowania urządzenia z Androidem TV używanego do przesyłania jest inny niż numer seryjny urządzenia podany na urządzeniu i może się zmienić.
Na
stronie rejestracji znajdziesz instrukcje, jak znaleźć numer seryjny oprogramowania urządzenia.
Czy w Twojej aplikacji nadawcy jest włączona Cast Connect?
Sprawdź, czy zainstalowana aplikacja nadawcy ma włączoną obsługę Cast Connect zgodnie z opisem w sekcji konfiguracji aplikacji nadawcy.
Czy masz LaunchRequestChecker
do aplikacji na Androida TV?
Jeśli tak, usuń LaunchRequestChecker
, aby sprawdzić, czy aplikacja prawidłowo uruchamia natywny odbiornik Android TV. Jeśli to rozwiąże problem, może być konieczne naprawienie mechanizmu sprawdzania uruchamiania lub zalogowanie się w aplikacji nadawcy.
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-07-25 UTC.
[null,null,["Ostatnia aktualizacja: 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."]]