Assuming you don't do any platform-specific shenanigans and have consistent versions of GTK on the phone and your machine, it's very likely that you can build & test the app on your desktop — natively. No emulators, no VMs.
Yay, free software!
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!