win7 用户目录迁移后引起的安卓不能正常启动虚拟机[PANIC:could not open :avd name]问题解决

原文:

This is a bug in the ADT Plugin. For a workaround until it is fixed use a NTFS symbolic link.

I have a C: drive for windows 7 and a D: drive for all my work and data. After installing windows 7 I relocate all my special folders from C:\Users\John Doe to D:\John Doe. The ADT Plugin is trying to load the emulator from C: when it and the configure files are on D: (PANIC: Could not open etc.). NTFS can get the ADT Plugin to read from D: using a NTFS symbolic link. Open a command prompt in C:\Users\John Doe (obviously use your user name), use the mklink command.

mklink /J "C:\Users\John Doe\\.android" "D:\John Doe\\.android"

Now when the ADT plugin is trying to reference .android on C:, NTFS sends the request to D: and the emulator starts correctly.

译文:

这是ADT插件的一个bug,要修复这个问题一个变通的措施是使用NTFS 符号连接。

我有一个C盘放windows7,一个D盘里存放所有工作内容和数据,在安装完windows7之后我把我的私人文件夹从C:\Users\John Doe

重新定位到了D:\John Doe,当它和配置文件在D盘上时,ADT插件还是会试图从C盘加载模拟器,NTFS文件系统可以通过使用一个NTFS

的符号连接来使ADT插件从D盘读取。打开一个命令行提示符,定位到C:\Users\John Doe (很明显使用的是你的用户名),后使用这个mklink

命令:

mklink /J "C:\Users\John Doe\\.android" "D:\John Doe\\.android"
现在当ADT插件试图引用在C盘上的.android文件夹时,NTFS会发送这个请求到D盘上,模拟器将会正常启动。


原文地址:http://stackoverflow.com/questions/6936230/android-emulator-error2011-08-02-111401-emulator-panic-could-not-open-c


mklink 命令详细请自行谷歌之。

此方法亲测过通。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值