Android Sdk Emulator Error Unknown Virtual Device Name
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Why does the Android emulator report “unknown virtual device”, when the device is in my user directory? up vote 18 down vote favorite 10 I installed all the prerequisites for Android development. I created a virtual device through Eclipse and tried to run the Hello World sample application in that device. I received the following error message. emulator: ERROR: unknown virtual device name: 'Android21Device' emulator: could not find virtual device named 'Android21Device' I get the same error when I try to start the device from the command line and through the SDK program. I can see the device directory and files at D:\Users\anthony\.android\avd\Android21Device.avd android windows android-emulator share|improve this question edited Jul 28 '11 at 14:24 asked Aug 1 '10 at 22:59 Anthony Mastrean 11.5k1369125 add a comment| 4 Answers 4 active oldest votes up vote 26 down vote accepted Android Virtual Device Tool The Virtual Device tool in the SDK Manager creates virtual devices in your user profile directory... in this case a secondary drive D:\Users\anthony\.android But, the emulator tries to load virtual device images from the system drive C:\Users\anthony\.android Directory Junction There are two workarounds. First, you can create a directory hard-link (or junction) from the system drive android folder to the one in your user profile. In Windows 7, you can use the following command mklink /J C:\Users\anthony\.android D:\Users\anthony\.android Android Home The Android SDK Manager and emulator can use an environment variable ANDROID_SDK_HOME to identify the location of the .android directory. Set a user or environment variable ANDROID_SDK_HOME = 'D:\Users\anthony' share|improve this a
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Android emulator reports unknown virtual device up vote 0 down vote favorite i am having the same problem described in the following post "Android emulator http://stackoverflow.com/questions/3384070/why-does-the-android-emulator-report-unknown-virtual-device-when-the-device-i reports unknown virtual device" http://stackoverflow.com/questions/3384070/android-emulator-reports-unknown-virtual-device and have followed all of the instructions in an attempt to resolve but still i cannot run my AVD. I only have one drive on my Windows 7 machine (C:) and the AVD is being created in the correct location -> C:\Users\MyUser\.android Ive also tried to setup an environment variable "ANDROID_SDK_HOME" The actual error is: emulator: ERROR: unknown virtual device name: 'my_AVD' emulator: could not find virtual device named 'my_AVD' http://stackoverflow.com/questions/3914171/android-emulator-reports-unknown-virtual-device Can someone please help me? eclipse android share|improve this question edited Oct 13 '10 at 0:42 asked Oct 12 '10 at 11:33 Grant 4,0081965120 i have the same problem –In81Vad0 Oct 14 '10 at 16:18 add a comment| 3 Answers 3 active oldest votes up vote 0 down vote accepted For another reason i had to re-format my pc. After a quick rebuild its working fine now. I think the problem happened because in the previous installation of windows, i was playing around with HDD's. Somehow this had caused problems.. share|improve this answer answered Oct 18 '10 at 23:07 Grant 4,0081965120 add a comment| up vote 0 down vote Solution: you should have a copy od .android in C:\
2015 Messages: 6 Likes Received: 0 Hi friends, I hope that i post in the appropriate forum, but i looked in all site and i don't find an other location for posted this http://androidforums.com/threads/emulator-error-unknown-virtual-device-name.993511/ question. My system is Linux Mint 17 Qiana 64 bits, i installed Android Studio and Java 1.8.0_66 (64 bits) and all works correctly. However, when i launch "emulator64-x86 -avd Nexus5API22.avd -qemu -m 2047 -enable-kvm" for create the emulator, i have this problem : emulator: ERROR: unknown virtual device name: 'Nexus5API22.avd' emulator: could not find virtual device named 'Nexus5API22.avd' Yet Nexus5API22 exists ! An idea ? Thank you to all. android sdk Advertisement Jan 27, 2016 #1 LV426 Well-Known Member Joined: Oct 16, 2015 Messages: 2,051 Likes Received: 2,596 Looks like you haven't created the AVD. Probably the easiest way is to do it using Android Studio's AVD manager. But you can also do it from the command line http://developer.android.com/tools/devices/managing-avds-cmdline.html http://developer.android.com/tools/devices/managing-avds.html Jan 27, 2016 #2 Accolade Member This Topic's Starter Joined: Jul 7, 2015 Messages: 6 Likes Received: android sdk emulator 0 Thanks LV426. Finally, I do not use emulator with kvm, I use a device on the USB port. I will return to this error later. Feb 11, 2016 #3 (You must log in or sign up to reply here.) Show Ignored Content Share This Page Tweet Loading... Log in with Facebook Log in with Twitter Log in with Google Your name or email address: Do you already have an account? No, create an account now. Yes, my password is: Forgot your password? Stay logged in Sign up now! Popular This Week EarlyBird Android news app gains Dark Theme Google says there's a "treat for tomorrow" Google is planning Allo + Duo integration Google to introduce a $129 home Wi-Fi router Google could be looking to buy Twitter Loading... Hotly Debated Rooted but can't update or flash to stock. HELP S7 Battery Drain fast past 1st month of ownership Scariest Book/Movie You Ever Read/Saw MM 6.0.1 is refusing to use the Assigned Ringtone for individual contacts My Journey to get LG G Stylo GPS fix (in progress) Loading... Popular Topics Received your replacement note? Post here! This Site Has Been Hacked CyanogenMOD 12.1 UNOFFICIAL ALPHA2 What idiot would make a device camera wi