Android simulator error, emulator: Error: Unknown Virtual Device Name
Cause: the default position of my documents has changed.
The 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 under "F: \ Users \ <username> \. Android", andProgramDuring running, the corresponding configuration file is still found under "C: \ Users \ <username> \. Android", resulting in the above error.
Solution 1:
Set "F: \ Users \ <username> \. copy the file under android to c: \ Users \ <username> \. android "below can solve this problem, but such a solution has an obvious drawback, that is, if there is a new
Create an AVD and copy it again.
Solution 2:
Choose System Properties> environment variables> system variables> Create under groupbox> variable name android_sdk_home. (Note that the variable name cannot be changed, only this name can be used !), Then change the variable value to the value of AVD ". android "folder location, such as:" F: \ androidemulator ", here I put it in the android SDK package, value:" D: \ SDK \ Android \ android-sdk-windows1.5_r3"
Note: You can set the android_sdk_home value to the "My Documents" path, for example, "d: \ My documents"