运行“应用程序:找不到目标设备"时出错.Android Studio 3.6 预览版 [英] Error running 'app: No target device found. Android Studio 3.6 Preview

查看:46
本文介绍了运行“应用程序:找不到目标设备"时出错.Android Studio 3.6 预览版的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

初学者,未能在 Android Studio 3.6 上运行我的第一个 Android 应用程序.如何进行正确的设置以在模拟器中查看预览设备?

Aa beginner, failed to run my first Android Application on Android Studio 3.6. How can I make the right setting to see the preview device in the emulator?

我尝试了同样的问题和讨论,但未能解决我的问题.

I tried the same question and discussion, but failed to solve my problem.

推荐答案

问题在于:您没有任何虚拟设备.这是您可能必须运行的屏幕截图(在 AS 3.6 预览版中):

Here's the problem: You don't have any virtual devices. Here's a screenshot of what you probably should have to run (In AS 3.6 Preview):

将此与显示无设备"的图片进行比较.所以,我将引导您创建一个 AVD.

Compare this to your picture where it says "No devices". So, I'm going to walk you through creating an AVD.

现在,因为我确实有 AVD,所以我要创建一个.单击为您显示无设备"的下拉菜单,然后单击打开 AVD 管理器":

Now, since I do have AVDs, I'm just going to create one. click on that drop-down menu that for you says "No devices" and click "Open AVD Manager":

在弹出窗口中点击创建虚拟设备..."

In the popup click "Create Virtual Device..."

在虚拟设备配置弹出窗口中选择您想要的设备,然后单击下一步".

In the Virtual Device configuration popup select the device you want and click "Next".

选择您想要的系统映像(您可以转到其他选项卡查看那里的内容),然后单击下一步"

Choose the system image you want (you can go to the other tabs to see what's there) and click "Next"

然后为您的 AVD 命名并点击完成"

Then name your AVD and click "Finish"

现在您应该会看到您的新 Android 虚拟设备:

Now you should see your new Android Virtual Device:

关闭它,您现在可以使用绿色的运行"箭头运行您的应用程序!

Closing out of it, you can now run your application with the green "Run" arrow!

我希望这有帮助!

这篇关于运行“应用程序:找不到目标设备"时出错.Android Studio 3.6 预览版的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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