Testing multi-device interactions is now easier than ever with the Android Emulator. Whether you are building a multiplayer game, extending your mobile application across form factors, or launching virtual devices that require a device connection, the Android Emulator now natively supports these developer experiences.
Previously, interconnecting multiple Android Virtual Devices (AVDs) caused significant friction. It required manually managing complex port forwarding rules just to get two emulators to connect.
Now you can take advantage of a new networking stack for the Android Emulator which brings zero-configuration peer-to-peer connectivity across all your AVDs.
Interconnecting emulator instances
The new networking stack for the Android Emulator transforms how emulators communicate. Previously, each virtual device operated on its own local area network (LAN), effectively isolating it from other AVDs. The new Wi-Fi network stack changes this by creating a shared virtual network backplane that bridges all running instances on the same host machine.
Key benefits:
-
Zero-configuration: No more manual port forwarding or scripting
adbcommands. AVDs on the same host appear on the same virtual network. - Peer-to-peer connectivity: Critical protocols like Wi-Fi Direct and Network Service Discovery (NSD) work out of the box between emulators.
- Improved stability: Resolves long-standing stability issues, such as data loss and connection drops found in the legacy stack.
- Cross-platform consistency: Works the same across Windows, macOS, and Linux.
Use Cases
The enhanced emulator networking supports a wide range of multi-device development scenarios:
- Multi-device apps: Test file sharing, local multiplayer gaming, or control flows between a phone and another Android device.
- Continuous integration: Create robust, automated multi-device test pipelines without flaky network scripts.
- Android XR & AI glasses: Easily test companion app pairing and data streaming between a phone and glasses within Android Studio.
- Automotive & Wear OS: Validate connectivity flows between a mobile device and a vehicle head unit or smartwatch.
The new emulator networking stack allows multiple AVDs to share a virtual network, enabling direct peer-to-peer communication with zero configuration.
Get Started
The new networking capability is enabled by default in the latest Android Emulator release (36.5), which is available via the Android Studio SDK Manager. Just update your emulator and launch multiple devices!
If you need to disable this feature or want to learn more, please refer to our documentation.
As always, we appreciate any feedback. If you find a bug or issue, please file an issue. Also you can be part of our vibrant Android developer community on LinkedIn, Medium, Youtube, or X.
Continue reading
-
Product News
The Jetpack Compose April ‘26 release is stable. This release contains version 1.11 of core Compose modules (see the full BOM mapping), shared element debug tools, trackpad events, and more.
Meghan Mehta • 5 min read
-
Product News
Android Studio Panda 4 is now stable and ready for you to use in production. This release brings Planning Mode, Next Edit Prediction, and more, making it easier than ever to build high-quality Android apps.
Matt Dyor • 5 min read
-
Product News
If you are an Android developer looking to implement innovative AI features into your app, we recently launched powerful new updates.
Thomas Ezan • 3 min read
Stay in the loop
Get the latest Android development insights delivered to your inbox weekly.