'How to test ChromeCasting locally without Android TV or ChromeCast device?

I'm building a mobile app and trying to implement chromecasting. I want to test whether my sender application is working or not but I don't have a Casting device. Is it possible to test it?

I've set up android tv emulator but it didn't show up. Probably I need additional settings.

Also this question is asked 7 years ago, but I'm not sure if it's possible in 2021.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source