天天看點

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.

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

指令:

現在當ADT插件試圖引用在C槽上的.android檔案夾時,NTFS會發送這個請求到D盤上,模拟器将會正常啟動。

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

mklink 指令詳細請自行谷歌之。

此方法親測過通。