Menu

Emulator testing for an Android TV and phone app
📰

Emulator testing for an Android TV and phone app

DEV Community: kotlin·Yonto Player·about 6 hours ago
#cQwJyxbY
#devtokotlin#devto#dev#port#emulator
Long article (1342 words) — no AI summary yet.
Reading 0:00
15s threshold

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.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.