Android工作室1。x AVD不跑呢?

时间:2021-11-12 20:49:37

I'm a newbie android developer ,since i upgraded to Andoid Studio 1.x from beta ,things became a lot easy , creating the AVD and managing SDK is managed better by the IDE now ,

我是新手安卓开发者,因为我升级到Andoid Studio 1。从beta版开始,事情变得很简单,创建AVD和管理SDK现在被IDE管理得更好了,

I used the Default Nexus 5 config to setup an AVD,however can you please tell me how to safely turn it off ,I cant find any poweroff button , i have Intel HAXM set up and working fine, I got an error saying AVD instance aldready running etc asking me to delete the avd from user/android/avd/... which i did ,

我用5配置设置一个默认的联系AVD,不过你能告诉我如何安全地把它关掉,我不能找到任何定时关机按钮,我有英特尔HAXM设置和工作很好,我有一个错误说AVD实例aldready运行等要求我删除AVD从用户/ android / AVD /…这是我做的,

WHen i created it i can run it just once, when i close and reopen studio and try to run again i get the following message

当我创建它时,我可以只运行一次,当我关闭和重新打开studio并尝试再次运行时,我得到如下消息。

AVD Nexus_5_API_21 is already running.
If that is not the case, delete the files at
   C:\Users\S****\.android\avd/Nexus_5_API_21.avd/*.lock
and try again

And what system image to use for the AVD, whats the difference between the ARM ,ATOM 86,ATOM 64 and googdle API images for the same android version, i use a windows 8.1 PC 64Bit running on a vt-x suported intel core i5 , 4200 u processor , which image should i use ,

和使用什么系统映像AVD,什么手臂之间的区别,86原子,原子64和googdle API图像同样的android版本,我使用一个windows 8.1 PC上运行64位开始支持英特尔酷睿i5 4200 u处理器,我应该使用图像,

Please Note i couldnt find solutons elsewhere and i doubt its an offtopic question as its about setting up a programming tool. Btw the task manager shows a 32 bit emulator running Thanks!

请注意,我在其他地方找不到解决方案,我怀疑这是一个关于建立编程工具的问题。任务管理器显示一个32位的仿真器运行谢谢!

4 个解决方案

#1


1  

Here you Are :

给你:

Android工作室1。x AVD不跑呢?

when you click on turn on/off button emulator will be start/finish , also Remember after start emulator for first time you don't need to reOpen it!

当你点击打开/关闭按钮模拟器将会启动/完成,也要记住在启动模拟器后第一次你不需要重新打开它!

#2


1  

Delete all files and directories with extetion .Lock at C:\Users\user_name.android\avd\emulator_name.avd\files.Lock and try Again.

删除所有文件和目录与extetion .Lock在C:\Users\ user_name.android \ avd \ emulator_name.avd \文件。锁,再试一次。

#3


1  

Go to Tools>>Android>>Enable ADB Integration select this, It worked for me.

Go to Tools>>Android>>启用ADB集成选择,它为我工作。

#4


0  

make sure sdk and avd manager added to your IDE correctly. answer of your second question is,when you play your app in IDE a emulator will be run and on emulator toolbox you can turn off or turn on your emulator and also you can see your app running or not

确保sdk和avd管理器正确地添加到IDE中。第二个问题的答案是,当你在IDE中运行你的应用程序时,模拟器会运行,在模拟器上你可以关闭或打开你的模拟器,你也可以看到你的应用程序在运行。

#1


1  

Here you Are :

给你:

Android工作室1。x AVD不跑呢?

when you click on turn on/off button emulator will be start/finish , also Remember after start emulator for first time you don't need to reOpen it!

当你点击打开/关闭按钮模拟器将会启动/完成,也要记住在启动模拟器后第一次你不需要重新打开它!

#2


1  

Delete all files and directories with extetion .Lock at C:\Users\user_name.android\avd\emulator_name.avd\files.Lock and try Again.

删除所有文件和目录与extetion .Lock在C:\Users\ user_name.android \ avd \ emulator_name.avd \文件。锁,再试一次。

#3


1  

Go to Tools>>Android>>Enable ADB Integration select this, It worked for me.

Go to Tools>>Android>>启用ADB集成选择,它为我工作。

#4


0  

make sure sdk and avd manager added to your IDE correctly. answer of your second question is,when you play your app in IDE a emulator will be run and on emulator toolbox you can turn off or turn on your emulator and also you can see your app running or not

确保sdk和avd管理器正确地添加到IDE中。第二个问题的答案是,当你在IDE中运行你的应用程序时,模拟器会运行,在模拟器上你可以关闭或打开你的模拟器,你也可以看到你的应用程序在运行。