The device mirrors within IDE (the Android studio)

Hitesh Dhamshaniya
2 min readMay 15, 2023

You can now mirror your device in the Running Devices window in Android Studio Electric Eel. By streaming your device’s display directly to Android Studio, you can execute common actions such as rotating the screen, changing the volume, or locking/unlocking the machine right from the IDE itself.

Device mirroring is available in Android Studio Electric Eel as an experimental feature. To turn it on manually, navigate to File > Settings > Experimental (Android Studio > Settings > Experimental on macOS), and check the box under Device Mirroring.

Enable mirroring of physical Android devices

To get started, ensure you are connected to a device. All devices that you are connected to are mirrored in tabs in the Running Devices window, which you can open by navigating to View > Tool Windows > Running Devices. When you deploy an app or test to a connected device, the Running Devices window appears automatically and shows the mirrored device.

Android Device mirror (Source https://developer.android.com/studio/releases/past-releases/as-electric-eel-release-notes#device-mirroring)

Privacy notice

If device mirroring is enabled, Android Studio automatically starts device mirroring for any connected and paired device. This might result in information disclosure for devices connected with the adb tcpip command because the mirroring information and commands are passed over a non-encrypted channel. In addition, Android Studio uses a non-encrypted channel to communicate with the adb server, so mirroring information can be intercepted by other users on your host machine.

Source: https://developer.android.com/studio/releases/past-releases/as-electric-eel-release-notes#device-mirroring

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

Hitesh Dhamshaniya
Hitesh Dhamshaniya

No responses yet

Write a response