Emulator problem

+1 Urja Pawar · October 12, 2015
i am using windows8.1 and want to know how to rectify "emulator X86.exe has stopped working!", please help asap

Post a Reply


Oldest  Newest  Rating
+1 Gary Whitney · October 13, 2015
I used 8.1 up until a week ago.
Switch to the desktop before running android studio.
Don't accidentally close the emulator window.
Do you have the HAXM installed?

1. You need to have an Intel chip set that supports HAXM.

2. You have to turn it on in your BIOS

3. You need to download AND install it.

I found this link and followed instructions for installing using Studio >  Tools > Android> SDK Manager

0 Urja Pawar · October 22, 2015
0 Urja Pawar · October 26, 2015
everything was running correctly but When I coded in .java file and then ran the app, it says "Unfortunately, <appname> has stopped", I have increased heap size up to 128MB still nothing is showing up, here is my code

package com.example.dell.myapplication;

import android.os.Bundle;
import android.support.design.widget.FloatingActionButton;
import android.support.design.widget.Snackbar;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.Toolbar;
import android.view.View;
import android.view.Menu;
import android.view.MenuItem;
import android.widget.RelativeLayout;
import android.widget.Button;

public class MainActivity extends AppCompatActivity {

protected void onCreate(Bundle savedInstanceState) {
RelativeLayout urja = new RelativeLayout(this);
Button blub = new Button(this);
Toolbar toolbar = (Toolbar) findViewById(R.id.toolbar);

FloatingActionButton fab = (FloatingActionButton) findViewById(R.id.fab);
fab.setOnClickListener(new View.OnClickListener() {
public void onClick(View view) {
Snackbar.make(view, "Replace with your own action", Snackbar.LENGTH_LONG)
.setAction("Action", null).show();


public boolean onCreateOptionsMenu(Menu menu) {
// Inflate the menu; this adds items to the action bar if it is present.
getMenuInflater().inflate(R.menu.menu_main, menu);
return true;

public boolean onOptionsItemSelected(MenuItem item) {
// Handle action bar item clicks here. The action bar will
// automatically handle clicks on the Home/Up button, so long
// as you specify a parent activity in AndroidManifest.xml.
int id = item.getItemId();

//noinspection SimplifiableIfStatement
if (id == R.id.action_settings) {
return true;

return super.onOptionsItemSelected(item);

thanks in advance:)
0 Gary Whitney · October 26, 2015
I really don't want to clutter up my applications by loading other peoples code.

Your original problem was the emulator which I think you resolved. "everything was running correctly"

Now your problem is your code.
There are million ways to get your app to stop running.
For me it is usually a typo or a missed step in my logic.

For some reason you are using Java to create our layout which is one way to do it.
I prefer the layout editors. It is  easier for me to understand.
I just spent hours banging my own code and need a break from troubleshooting.

Here is my advice.
Look at the logCat.
It will tell you what was being processed when it stopped.
Then analyze that part of your code or debug it with a breakpoints to see when things go wrong.
  • 1

Java / Android Development


Very popular language used to create desktop applications, website applets, and Android apps.

Bucky Roberts Administrator