title: Why is the android emulator starting but then dying immediately?
body: <p>I've installed Android Studio on my Ubuntu 16.04<br>
  I've set up a device using the AVD device manager</p>
  
  <p>When I try to start the device the emulator flashes very quickly and then disappears.</p>
  
  <p>I tried several different versions but for all of them the emulator window flashes for a fraction of a second then disappears.<a href="https://i.stack.imgur.com/w0118.png" rel="noreferrer"><img src="https://i.stack.imgur.com/w0118.png" alt="enter image description here"></a></p>
  
  <p>How can I get the emulator to work?
  Where are logs that will show what problem I am having?
  <a href="https://i.stack.imgur.com/qmewL.png" rel="noreferrer"><img src="https://i.stack.imgur.com/qmewL.png" alt="enter image description here"></a></p>