After the system is reinstalled for a long time, the android SDK that was previously installed cannot start the simulator. The following solutions are available for searching on the network:
Http://www.cnblogs.com/hlt1988321/archive/2010/10/17/1853736.html
Android simulator error, emulator: Error: Unknown Virtual Device name
cause: the default position of my document changes
An error such as error: Unknown Virtual Device name is generally caused by a file path reference error. For example, you can set a user file to drive F in Vista. In this way, when you use eclipse or create an android emulator from the command line, the corresponding file is placed to "F: \ Users \ \. android "below, and the Program is still running from" C: \ Users \ \. android "to find the corresponding configuration file, resulting in the above error.
solution 1:
set "F: \ Users \ \. copy the file under android to c: \ Users \ \. android "below can solve this problem, but such a solution has an obvious drawback, that is, if another
AVD is created, it must be re-copied.
solution 2:
Open System Properties-> environment variable-> under the groupbox of "system variables", select "new"-> the variable name is "android_sdk_home" (note, this variable name cannot be changed. It can only be this name !), Then change the variable value to the value of AVD ". android "folder location, for example:" F: \ androidemulator ", here I put it in the android SDK package with the value:" D: \ SDK \ Android \ android-sdk-windows1.5_r3 "
Note: You can set the android_sdk_home value to the path of "My Documents". For example, "d: \ My Documents"
However, in fact, this does not solve the problem on Windows 7, because my ". Android" folder is put on the E drive, that is, "E: \. Android ".
Later I found a BSS discussion: http://forum.xda-developers.com/showthread.php? T = 520915
It is feasible to use NTFS junction. The procedure is as follows:
- Use AVD manager to delete all simulator configurations
- Download and install sysinternalssuite
- Create a new folder under "C: \ Users \ <your name>"
- Change the new folder to ". Android" in the command line"
- Run the following command in the command line: junction C: \ Users \ <your name> \. Android E: \. Android
- Create simulator configuration again
In addition, the specific usage of junction can refer to: http://hi.baidu.com/monkey_op/blog/item/4b298164dd780336aa184c33.html