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!