默认AVD Android Studio中 [英] Default AVD in Android Studio

查看:246
本文介绍了默认AVD Android Studio中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有谁知道的一种方式(如果它甚至有可能)来设置默认的preVIEW AVD Android Studio中v0.4.5。每次我创建一个新的活动,这也显示出了的Nexus 4 preVIEW,但因为我有TEGRA注7和对创建一个自定义的AVD,我希望看到作为默认值。

这是可能的,如果是这样,任何人都可以建议该怎么办呢?我检查所有的设置,但不能看到任何跳出。

先谢谢了。


解决方案

在Android的工作室1.2.2,我能够前往的运行>编辑配置...

从那里,你可以通过单击默认,然后更改默认仿真器(AVD)的 Android应用程序即可。从那里,在目标设备下,选择您的 preferred Android虚拟设备,然后点击应用或确定。

如果仍然无法正常工作,您可能需要在应用层面也更改此设置。相反,点击默认值,单击Android应用程序,然后选择相关项目的名称。然后继续来定义具体的项目,preferred AVD如上所述。

Does anyone know of a way (or if it's even possible) to set the default preview AVD in Android Studio v0.4.5. Every time I create a new activity it shows it in a Nexus 4 preview but as I have TEGRA Note 7 and have a custom AVD created for that, I want to see that as the default.

Is this possible and, if so, can anyone advise how to do it? I've checked all the settings but can't see anything that jumps out.

Thanks in advance.

解决方案

In Android Studio 1.2.2, I was able to solve this problem by going to Run > Edit configurations...

From there, you can change the default emulator (avd) by clicking Defaults, then Android Application. From there, under Target Device, select your Preferred Android Virtual Device then click Apply or OK.

If that still does not work, you may need to also change this setting at the application level. Instead of clicking Defaults, click Android Application and select the name of the project in question. Then proceed to define the project-specific, preferred AVD as described above.

这篇关于默认AVD Android Studio中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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