更新到 Android Studio 3.5 版本后的新问题.运行应用程序时不会出现 ADB 设备选择屏幕 (SHIFT-F10) [英] New issue after update to Android Studio 3.5 release. ADB device selection screen will not come up when running app (SHIFT-F10)

查看:25
本文介绍了更新到 Android Studio 3.5 版本后的新问题.运行应用程序时不会出现 ADB 设备选择屏幕 (SHIFT-F10)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

新问题:在 Android Studio 3.5 上运行应用程序时,设备选择屏幕不再出现.它默认为随机"设备.

New Issue: When Running app on Android Studio 3.5 the device selection screen no longer appears. It defaults to "random" device.

尝试在 Google 上寻找答案.不行.尝试在设置中查找.不行.在 Android Studio 中搜索菜单.不行.

Tried looking for answers on Google. No go. Tried looking in Settings. No go. Searched menus in Android Studio. No go.

预计会出现设备选择屏幕(物理和仿真设备).它不是.只是默认为看似随机的设备.所有模拟器都可以正常工作,并且与我的物理设备一样.

Expected the device selection screen (Physical and emulated devices) to come up. It does not. Just defaults to seemingly random device. All emulators work and are present as are my physical devices.

我的问题是:如何选择我希望部署到的设备.提到了一个下拉菜单,但我找不到它.

My question is: How do I select which device I wish to deploy to. A drop down menu has been mentioned, but I am unable to locate it.

推荐答案

您好,欢迎来到 Stack Overflow!如 Android Studio 的新增功能"部分所述,设备选择器现在是一个组合框/下拉"菜单.

Hello and welcome to Stack Overflow! As outlined in the "What's new" section of Android Studio, the Device selector is now a "combo box/dropdown" menu.

IDE 有一个新的下拉菜单,可让您快速选择要将应用部署到的设备.此菜单还包含一个新选项,可让您同时在多台设备上运行您的应用.

The IDE has a new drop-down menu that lets you quickly select which device you'd like to deploy your app to. This menu also includes a new option that lets you run your app on multiple devices at once.

这个选项是否可以被禁用,是我目前无法找到的.

Whether this option can be disabled or not, is something I couldn't find so far.

它比旧的对话框好,但它使动态"设备选择更难,除非你用鼠标去...点击它...你会看到图片.在这方面,我相信新控件更糟糕比以前带有众所周知的对话框选择器的 3.4.x Android Studio.

It's better than the old dialog, but it makes "dynamic" device selection harder unless you go with your mouse... click on it.. you get the picture. In that regard, I believe the new control is worse than the previous 3.4.x Android Studio with the all-known dialog chooser.

在专业方面,您可以选择多个,并且 shift-F10(默认在 Windows/Linux 上运行)会将 apk 发送到所有选定的设备.

On the pro side, you can select multiple ones, and shift-F10 (default run on Windows/Linux), will send the apk to all selected devices.

因此,对于大多数用例(在 1 个或多个设备上重新运行)来说,这是一个很好的改进.即使模拟器没有运行.

So for the most use case (re-running on 1 or more devices) this is a good improvement. Even if the emulator is not running.

但是对于您要更改使用的设备的其他情况,这是一个可用性回归(据我所知),因为您无法轻松集中注意力,请使用键盘,然后运行.所以......就是这样.

But for the other cases where you are changing which device you use, this is a usability regression, (as far as I know) because you can't easily focus that, change it with the keyboard, and run. So... there's that.

我们将看看 Google 是否对此采取了一些措施,或者提供了一种使用键盘以一种像以前一样的奇特方式导航"的方法.

We'll see if Google does something about this or provides a way to "navigate" this with the keyboard in a fancy way like it was possible before.

对于什么是有价值的,这是 Google 跟踪器中的问题.

For what is worth, here's the Issue in the Google Tracker.

这篇关于更新到 Android Studio 3.5 版本后的新问题.运行应用程序时不会出现 ADB 设备选择屏幕 (SHIFT-F10)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆