eclipse android设备选择器在哪里?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/17462126/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-19 20:50:47  来源:igfitidea点击:

Where is android device chooser?

androideclipse

提问by AVEbrahimi

I had selected a device in android device chooser, but now I want to change it. It's funny but I can't find Android Device Chooserand let it ask for running on which device. I tried to modify Run Config ( Check screenshot), but had no success.

我在 android 设备选择器中选择了一个设备,但现在我想改变它。这很有趣,但我找不到Android 设备选择器并让它要求在哪个设备上运行。我试图修改运行配置(检查屏幕截图),但没有成功。

Eclipse Run Config Screenshot

Eclipse 运行配置截图

Where is it?

它在哪里?

回答by Alex Gittemeier

Go to the project's properties, click the "Run/Debug configurations", Click "Edit...", Click the "Targets" tab and check "Always Prompt to pick device"

转到项目的属性,单击“运行/调试配置”,单击“编辑...”,单击“目标”选项卡并选中“始终提示选择设备”

回答by user936414

Close the emulator in which u ran the apk previously. Now run the application. The device chooser will appear. Unselect "Use same device for future launches in the bottom left corner". Then select a device. Restart your old emulator. When "Use same device for future launches in the bottom left corner" is selected AFAIK there is no way of reverting the selected device.

关闭您之前运行 apk 的模拟器。现在运行应用程序。将出现设备选择器。取消选择“在左下角使用相同设备进行未来启动”。然后选择一个设备。重新启动旧的模拟器。When "Use same device for future launches in the bottom left corner" is selected AFAIK there is no way of reverting the selected device.

回答by QinShiheng

In eclipse, open "Run Configurations..."(Right click on Your Project -> Run as -> Run Configurations), double clickon your project in the Run Configuration dialog (In my case, double click project NuclideDetect): My eclipse screenshotand the Android Device Chooser appears.

在 Eclipse 中,打开“运行配置...”(右键单击您的项目 -> 运行方式 -> 运行配置), 在“运行配置”对话框中双击您的项目(在我的情况下,双击项目 NuclideDetect): 我的 eclipse屏幕截图和 Android 设备选择器出现。

回答by broofa

I had a similar issue with Android Studio and this page was the only hit I found, so dropping the answer I came up with here. You can get the device chooser back by going to the Run -> Edit Configurations menu, and setting the target for Deployment Target Options as shown here ...

我在 Android Studio 上遇到了类似的问题,这个页面是我发现的唯一一个问题,所以放弃我在这里想出的答案。您可以通过转到“运行”->“编辑配置”菜单并设置部署目标选项的目标来恢复设备选择器,如下所示...

Run/Debug Configurations panel

运行/调试配置面板

回答by Gene

For me I have to stop the current default device by pressing Run -> Stop button.

对我来说,我必须通过按 Run -> Stop 按钮来停止当前的默认设备。

enter image description here

在此处输入图片说明

Only after I stopped the default device will Android Studio prompt me to pick a device when I click on the green run button.

只有在我停止默认设备后,Android Studio 才会在我点击绿色运行按钮时提示我选择一个设备。

enter image description here

在此处输入图片说明

回答by Juan Reina Pascual

You can click trl + F11 and Android Device Chooser will be shown

您可以单击 trl + F11 将显示 Android 设备选择器