Android emulator won't boot up
I had the similar problem on OSX. My emulator works fine, but after some runs it won't start. I've solved that by :
- Go to
.android
directory (in my case it wasUsers/<username>/.android
- Go to
avd
folder - Find the emulator that won't start (directory name will be the same as emulator)
- Remove all
.img
files from there. Do not remove.ini
files. - Try to run the simulator again.
I found it. In event viewer(Control Panel\All Control Panel Items\Administrative Tools\Event Viewer) clicked on Windows Log>Application on left menu and read error logs.
I googled dll file mentioned in log (aticfx32.dll
) and found the dll file belongs to ATI graphic cards. My PC has an Intel graphic card. While searching for solution I also found this web page and applied solution they used. It works like a charm.
Steps:
- Download your graphics card driver from intel's website
- Extract the zip somewhere, Location does not matter
- Go into Device Manager, (type Device Manager in the windows search bar)
- Click Display Adapters and Intel HD Graphics.
- Go to the tab labeled "Drivers"
- Click "Update Drivers" and "Browse my computer for drivers"
- Click "Let me pick from a list of drivers"
- Click the Have Disk Button,
- Navigate to where your extracted drivers are and go into the directory labeled "Graphics"
- Select the file named "igdlh64.INF"
- Click on the OK button and then click Next, the drivers should install
- After that you need to reboot, and after rebooting your drivers should be updated
In my case I had to delete the file cache.img.qcow2 from my avd device folder (C:\Users\User_Name.android\avd\Device_Name.avd).