Yonto Player is one codebase with an Android TV app and a phone and tablet app. Testing it means running both on emulators, repeatedly, and keeping the setup simple enough that it stays out of the way.
This post is the setup I would hand to anyone testing a TV app and a phone app side by side, especially with more than one checkout of the repo on the same machine. Most of it is plain adb , avdmanager and a short Python script, so it carries over to any Android project.
One emulator per kind per checkout
Each checkout gets its own devices, named after the kind of device and the folder they belong to: a TV, a phone, and a tablet when a change needs one. The name makes a device easy to find again the next time you work in that checkout.
Making one is cheap if you keep a base image around.…