Skip to content Skip to sidebar Skip to footer

Could Not Open Avd_name.avd/cache.img

When i run emulator, i get the following error: Cannot launch AVD in emulator. Output: Hax is enabled qemu-system-x86_64.exe: -drive if=none,index=1,id=cache,file={path_to_SDK

Solution 1:

Keep an eye out for a background qemu-system-i386.exe process running in the background that will be locking the cache.img file.

Windows Task Manager - Background Emulator Process

This might be still running from a previously failed emulator launch. Kill that using Task Manager and start again.

Solution 2:

I had the same problem already twice since I upgraded to Android Studio 2.0 on Windows 10. I use a preferred emulator in the Run/Debug configuration. Changing the Deployment Target Options in the configuration to Target: Show Device Chooser Dialog solved it for me. After choosing the same emulator instance in the dialog it started with no problem. Then I change back to the preferred emulator setting. Until the next time it breaks...

Hoping this helps.

Solution 3:

I faced the same problem in Windows 10.

Clearing temp and %temp% folder followed by a restart of machine solved my problem.

Solution 4:

I had this problem, when I didn't notice that emulator is already running :)

Post a Comment for "Could Not Open Avd_name.avd/cache.img"