PANIC: Could not open AVD config file:

PANIC: Could not open AVD config file: C:\Documents and Settings\鈺�鈺痎鈺�鈺甛.android\avd\avd.avd/config.ini

出现这种 情况的话,应该是目录名的问题


I found the solution!
The SDK saves your AVD card in C:\Users\your_user_name_in_windows\.android\avd\
If your username in windows is not written with only english letters (for example, if your username uses non-english letters), it causes this problem.
The solution is to change your username in windows, or create a user whose name is written with only english letters.

目录名应为全英文    就是说上面的蓝色标注的乱码部分 应该是英文的

 

具体解决方案

 

Win7:C:\USER\XXX.android\AVD.avd\config.ini

WinXp:C:\Documents and Settings\User\.android\XXX.android\AVD.avd\config.ini
相信一定有人遇过这个问题,为啥会这样呢,遇到的原因是因为更改了我的文档的路基了,然后他默认加载的是C:\Documents and Settings\User\的.android\avd,而我的文档是在D盘的“我的文档”,遇到类似的情况,可以把你生成的.android整个文件夹拷贝到C:\Documents and Settings\User\下,然后更改config.ini文件的路劲。
User是你用户的文件夹,在这我用User代替你当前使用的用户名字
例如:Win7: 1.  target=android-7

2.  path=C:\USER\XXX.android\AVD.avd\AVD.avd

复制代码

WinXp:

1.  target=android-7

2.  path=C:\Documents and Settings\User\.android\XXX.android\AVD.avd

复制代码



 


你可能感兴趣的:(c,windows,user,File,文档,Path)