77897

Why is the android emulator starting but then dying immediately?

Question:

I've installed Android Studio on my Ubuntu 16.04<br /> I've set up a device using the AVD device manager

When I try to start the device the emulator flashes very quickly and then disappears.

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="nofollow"><img alt="enter image description here" class="b-lazy" data-src="https://i.stack.imgur.com/w0118.png" data-original="https://i.stack.imgur.com/w0118.png" src="https://etrip.eimg.top/images/2019/05/07/timg.gif" /></a>

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="nofollow"><img alt="enter image description here" class="b-lazy" data-src="https://i.stack.imgur.com/qmewL.png" data-original="https://i.stack.imgur.com/qmewL.png" src="https://etrip.eimg.top/images/2019/05/07/timg.gif" /></a>

Answer1:

Try these method

<blockquote>

Edit your AVD ,On Graphics select Software-GLES instead of Auto.

</blockquote>

Open Android Monitor to see the errors.

Answer2:

Heads up:

For the ones of you that use <strong>docker</strong>, make sure docker is <strong>closed</strong> before trying to run the emulator.

That fixed it for me.

Recommend

  • Always suppress a click event after drag in d3
  • Azure AD B2C Tenant seems corrupted after using AAD Graph Client
  • Feeding gstreamer fdsrc via STDIN only produces fraction of expected result
  • C++ on windows 8 closes a program immediately after launching
  • Is there such a thing as static jar linking in java?
  • New BFC “clearing” floating boxes
  • KeyDown not picking up 'Return' key C#
  • Context menu disappears when opened with Key.App
  • Is Android development possible on netbooks? [closed]
  • Add a div to replace Video after Video Plays Through
  • Jooq casting String to BigDecimal
  • Upgrade project from WorkLight 6.1 to MobileFirst 7.1
  • Watson Conversation - Why is the ANYTHING ELSE node not chosen
  • Avoid registering duplicate broadcast receivers in Android
  • TFS - how do I sum child task hours to parent
  • Deploying a CodeRush plugin from the Community Site
  • Retaining data after updating application
  • How to pass solution folder as parameter in command line arguments (for debug)?
  • Android cannot disable cut copy paste
  • How to handle elastic beanstalk deployment so it uploads only changed files
  • Check all values in string[] for length?
  • Filter strings with regex before casting to numeric
  • ASP.NET MVC 2 Preview 2 - display directory list rather than home/index
  • How to define custom class, title, and target in Link Browser for content elements and the new rte_c
  • Alert pop up with LWUIT
  • Cannot resolve symbol 'MyApi'
  • If I include Java 8 in my Android app does that affect which devices it will work on?
  • Disabling Alt-F4 on a Win Forms NotifyIcon
  • R: gsub and capture
  • jqPlot EnhancedLegendRenderer plugin does not toggle series for Pie charts
  • Data Validation Drop Down Box Arrow Disappearing
  • Comma separated Values
  • using conditional logic : check if record exists; if it does, update it, if not, create it
  • Buffer size for converting unsigned long to string
  • AngularJs get employee from factory
  • python regex in pyparsing
  • How to CLICK on IE download dialog box i.e.(Open, Save, Save As…)
  • Android Google Maps API OnLocationChanged only called once
  • How can I use threading to 'tick' a timer to be accessed by other threads?
  • How to load view controller without button in storyboard?