Is there a way to make Android Studio 3.5 remember target device selection?
Asked Answered
S

1

10

I frequently run my apps on multiple devices at once. Before the 3.5 update, I was able to do this by cmd-clicking them in the device selection window and checking "use the same selection for future launches". 3.5 introduced this new dropdown in the toolbar to replace that window. Not only does it now try running your app on an emulator if you run it before adb recognizes your device, it doesn't remember anything at all. There is an option to "Run on multiple devices", but you have to select devices every time. This is just so laughably worse than what was before.

Can I either bring back the old device selector or make the new one remember my selection?

Sheepshearing answered 1/9, 2019 at 18:8 Comment(0)
D
0

I haven't found a way to get Android Studio 3.5 to remember which devices to run but there's a plugin that I use to accomplish this: ADB Idea: Preferences/Settings -> Plugins -> Marketplace.

It has an option to start the app with a checkbox for remembering.

enter image description here

Once you install it, you access it in Tools or use a keyboard shortcut: Ctrl+Shift+A on Mac & Ctrl+Alt+Shift+A on Windows/Linux

enter image description here

Doc answered 17/9, 2019 at 17:19 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.