Android simulator error, emulator: Error: Unknown Virtual Device Name

Source: Internet
Author: User

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"

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.