Tadas
Tadas

Reputation: 176

Emulator doesn't launch

When I'm trying to launch my emulator, I'm getting this type of error message in my Event log:

19:26:47 ProcessNotCreatedException: Error launching emulator: Cannot run program "C:\Users\Tadas\AppData\Local\Android\sdk\tools\emulator.exe": CreateProcess error=2, The system cannot find the file specified

Why this problem occured?

Upvotes: 3

Views: 5514

Answers (3)

user2881604
user2881604

Reputation: 2370

You may not missing the only emulator.exe but the whole tools folder. So lookup for tools folder inside SDK dir. If it's missing find another SDK and copy it's tools folder into you original SDK folder.

Upvotes: 1

user6302485
user6302485

Reputation:

Try this. Two items to check, a corrupted emulator.exe, and your pc is not able to load it due to low memory.

Upvotes: 1

Elye
Elye

Reputation: 60311

Firstly find that if you file is there or not by running the below in the Command Console.

dir C:\Users\Tadas\AppData\Local\Android\sdk\tools\emulator.exe

If you don't find it there, that means the file has been removed. Then you might want to locate where your emulator is.

If you find it else where, go to Android Studio->File->Project Structure->SDK Location to enter the new path (note include till where the sdk directory, without the tools directory shown).

If you can't find it else where. Then you might need to reinstall it. Go to Android Studio->Tools->Android->SDK Manager->SDK Tool tab to install the needed emulator.

Upvotes: 2

Related Questions