mulator: could not find virtual device named ‘AVD Name’
来源:互联网 发布:数码管与单片机连接图 编辑:程序博客网 时间:2024/05/22 10:26
mulator: could not find virtual device named ‘AVD Name’
使用Eclipse开发Android程序过程中,通过Eclipse启动Android模拟器时出现以下错误:
[2009-05-14 12:05:24 – Emulator] emulator: ERROR: unknown virtual device name: ‘Firehack’
[2009-05-14 12:05:24 – Emulator] emulator: could not find virtual device named ‘Firehack’
而且已经新建了一个名称为"Firehack"(F:/Personal/.android/avd/Firehack.avd)的 Android Virtual Devices,因为所用的操作系统之前做过修改"个人资料"目录即将原来位于系统盘中的桌面转移到了F:/Personal。
因此问题的原因就很简单了,将"F:/Personal/"目录下的".android"目录复制到"C:/Documents and Settings/Administrator"(如果您当前使用的用户为Administrator的话)。再次运行Android模拟器,一切恢复正常了。
完整的出错信息:
[2009-08-23 17:03:43 - ApiDemos] Android Launch!
[2009-08-23 17:03:43 - ApiDemos] adb is running normally.
[2009-08-23 17:03:43 - ApiDemos] Performing com.example.android.apis.ApiDemos activity launch
[2009-08-23 17:03:43 - ApiDemos] Automatic Target Mode: launching new emulator with compatible AVD ‘Firehack’
[2009-08-23 17:03:43 - ApiDemos] Launching a new emulator with Virtual Device ‘Firehack’
[2009-08-23 17:03:43 - Emulator] emulator: ERROR: unknown virtual device name: ‘Firehack’
[2009-08-23 17:03:43 - Emulator] emulator: could not find virtual device named ‘Firehack’
[2009-08-23 17:05:50 - ApiDemos] ——————————
解决方案来源: http://forums.pragprog.com/forums/67/topics/2709
I ran into this very problem. One tool was getting my home directory from the registry (HKCU/Software/Microsoft/Windows/CurrentVersion/Explorer/Shell Folders/Desktop) and another tool was getting it from an environment variable (HOMEPATH or USERPROFILE). For me they didn’t match. I fixed it by changing the Windows registry using the regedit command. Warning: it’s easy to mess up your registry and render your machine unusable if you don’t know what you’re doing in regedit.
- mulator: could not find virtual device named ‘AVD Name’
- mulator: could not find virtual device named ‘AVD Name’
- android AVD错误emulator: ERROR: unknown virtual device name: 'android' emulator: could not find virtua
- could not find virtual device named 'XXX' 的解决方法
- 在Android SDK里新建虚拟机出现:could not find virtual device named 'xxx'的解决办法
- unknown virtual device name
- The Genymotion virtual device could not obtain an IP address
- Could not find a storyboard named 'MainStoryBoard' in bundle NSBundle
- Could not find a storyboard named 'Main' in bundle
- Could not find a storyboard named 'Main' in bundle NSBundle
- Could not find a storyboard named 'Main' in bundle NSBundle
- Could not find a storyboard named 'Main' in bundle NSBundle
- 'Could not find a storyboard named 'Main' in bundle NSBundle ***
- Could not find a storyboard named 'Main' in bundle NSBundle
- Could not find any information for the class named ....
- Could not find a storyboard named 'Main' in bundle NSBundle
- Could not find a storyboard named 'Main' in bundle NSBundle
- Could not find a storyboard named 'main' in bundle NSBundle
- struts2 同时上传多个文件的奇怪异常
- SSIS将excel文件批量导入到sql server 2005
- 微软测试最新高端Windows
- 成功解决u-boot编译过程中"uses hardware FP whereas u-boot uses software FP"
- 小实验
- mulator: could not find virtual device named ‘AVD Name’
- ASP.NET如何调用Web Service
- 致新手:用VB6解决一些有趣的问题(十)
- ADO.NET的数据库查询2009-12-07 02:20 P.M.ADO.NET的数据库查询
- 视图与XML
- MAX SDK之插件概述(一)
- 返回各个数据库的孤立用户
- 一段javascript
- JAVASCRIPT C# 相互访问