Two days ago my android studio was working well then I don't know what happened I got this problem.
When I hit the play button before it used to launch the emulator but this time it didn't launch.
Then I tried to start the virtual device manually going to Android Virtual Device Manager but it only says "avd starting" but nothing happens.
Then I deleted the existing device and created a new virtual device but nothing happened.
Then I restarted the Android studio deleting all the files in root directory of the android studio and started again with default settings downloaded all the required files but this time also the virtual device didn't start.
Asked
Active
Viewed 3,104 times
0

Samrat Devkota
- 11
- 1
- 2
-
Which OS have you used ? – Haresh Chhelana Mar 18 '17 at 10:05
-
windows 10 @HareshChhelana – Samrat Devkota Mar 18 '17 at 10:34
1 Answers
3
I realize this question is old. Regardless, for anyone that may experience the same problem; as I had, here is what I did to resolve the issue:
- Locate the windows "Android SDK Location" which is the path to your emulator:
- In my case, it is here:
C:\Users\profile_name\AppData\Local\Android\Sdk
- Try running the device at the command line at the sdk path shown above like this:
sdk_path_from_step_2\emulator -avd "name of device"
- If you have the same problem I did, the path was wrong in my system variables
- To fix it do the following:
- Open your system properties; (
sysdm.cpl
at a command prompt) - Select the Advanced tab
- Click on the "Environment Variables" tab.
- Ensure that your have a variable named
ANDROID_SDK_ROOT
with the path to your sdk you saw in step 2 - Add or Update the System Variable to match what you find in Step 2.
- In my case it looks like this
- Open your system properties; (

avojak
- 2,342
- 2
- 26
- 32

Michael Perrett
- 31
- 1
- 5