Emulator: Error: Unknown Virtual Device Name: 'My _ avd' Solution

Source: Internet
Author: User

Emulator: Error: Unknown Virtual Device Name: 'My _ avd'

Emulator: cocould not find virtual device named 'my _ avd'

Cause 1:

Error cause: If Android ddms or android development tools is prompted when ADT is installed earlier


"Already exist"
Solution: Click the window | preferences | Android deletes the name of the installed ADT (if multiple are deleted together ). Next install and update | click "Update and uninstall". If Android ddms and Android development tools are available, delete them. Finally, reinstall ADT.

Cause 2:

The android_sdk_home environment variable is not set.

Every time a new AVD is created, the android SDK and AVD manager are under the "My Documents" path. create the corresponding AVD folder (my_avd.avd) and configuration file (my_avd.ini) in the android/AVD folder. At the same time, when you start an AVD, eclipse or android SDK and AVD manager will go to the path corresponding to android_sdk_home to find the AVD file and start AVD.

When the android_sdk_home environment variable is not set, Android SDK and AVD manager will be created under "My Documents" of the current user. android/AVD folder, and create the corresponding AVD folder (my_avd.avd) and configuration file (my_avd.ini ). When you start AVD through eclipse or android SDK and AVD manager, Android SDK and AVD Manager Go to the default "My Documents" Path in Windows (C: \ Documents and Settings \ User \ My
To find the AVD file. Very strange. I don't know what to ask ......

Therefore, if the android_sdk_home variable is not set, if you have not modified the "My Documents" path of Windows, it is no problem to start AVD. However,
The following error occurs:
Emulator: Error: Unknown Virtual Device Name: 'My _ avd'
Emulator: cocould not find virtual device named 'my _ avd'

Solution:
Add the android_sdk_home environment variable. From the variable name perspective, it is best to point android_sdk_home to the android SDK directory, delete the original virtual machine, create a new one, and then start AVD!

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.