title: android studio emulator: click on panel buttons causes emulator closes
body: <pre><code>Android Studio 3.5
  Build #AI-191.8026.42.35.5791312, built on August 9, 2019
  JRE: 1.8.0_202-release-1483-b49-5587405 amd64
  JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
  Linux 4.15.0-64-generic
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/Pikjv.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Pikjv.png" alt="emulator"></a></p>
  
  <p>I have updated my android studio, and after that, when I click on any buttons on the left panel of my emulator, or even when I press <code>ctrl + M</code> to open developer menu, emulator closes suddenly.</p>
  
  <p>What I have tested so far (non of them working):</p>
  
  <pre><code>1. installing previous version of android studio
  2. choosing another avd
  3. choosing another system image (api 28)
  4. uninstalling android studio and installing again
  5. invalidate/resetting cache  
  </code></pre>
  
  <p>Update:</p>
  
  <p>When emulator closes, I get this in the event log:</p>
  
  <pre><code>2:47 PM Emulator: [26918:26918:0924/144702.703700:ERROR:zygote_host_impl_linux.cc(89)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180.
  
  2:47 PM Emulator: Process finished with exit code 1
  </code></pre>
  
  <p>The issue has been discussed <a href="https://www.reddit.com/r/androiddev/comments/d6gnrn/android_emulator_2920_crashes_on_fedora_wayland/" rel="nofollow noreferrer">here</a></p>