I just got done installing Android studio and trying to take it for a test run. When I try to run my app I get the following error message
emulator: ERROR:
I had the same error. The solution for me was change the ANDROID_HOME path. First I took a look into tools->android->sdk manager from Android Studio. In that window, we can see the path where Android Studio looks for the SDK: image
Then I opened a Windows CMD shell, executed:
echo %ANDROID_HOME%
but the path was different to the one in ANDROID STUDIO CONFIGURATION of the first step.
The solution was to change in user environment, the ANDROID_HOME, to the one of the first step: image
I finally closed the cmd shell, and opened another cmd shell to execute:
echo %ANDROID_HOME%
the path was updated, and I could run my emulator perfectly.