Enable
VM acceleration
on your machine.

Launch Android Studio, click the AVD Manager
icon, and select Create Virtual Device…
    
      In older versions of Android Studio, you should instead
launch Android Studio > Tools > Android > AVD Manager and select
Create Virtual Device…. (The Android submenu is only present
when inside an Android project.)
      If you do not have a project open, you can choose 
Configure > AVD Manager and select Create Virtual Device…

Choose a device definition and select Next.

Select one or more system images for the Android versions you want
to emulate, and select Next.
An x86 or x86_64 image is recommended.

Under Emulated Performance, select Hardware - GLES 2.0 to enable
hardware
acceleration.

Verify the AVD configuration is correct, and select Finish.

    For details on the above steps, see Managing
AVDs.