Erro "EGL_BAD_MATCH" no Android emulador do estúdio

Eu tenho uma pergunta, o que é isso?

E/EGL_emulation: tid 3912: eglSurfaceAttrib(1146): error 0x3009 (EGL_BAD_MATCH) 

O que devo fazer paira resolview esse erro?

 public class Main extends AppCompatActivity { public TextView score; public ImageView alergator1; public ImageView alergator2; public FrameLayout frame; public int scoreINT; public float frameHigh; public float frameWidh; public float alergator1X; public float alergator1Y; public float alergator2X; public float alergator2Y; public ImageView miscaire; public int x; private Handler handler = new Handler(); private static Timer timer = new Timer(); @Oviewride protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); score = (TextView) findViewById(R.id.Score); alergator1 = (ImageView) findViewById(R.id.runner); alergator2 = (ImageView) findViewById(R.id.runner2); frame = (FrameLayout) findViewById(R.id.Frame); frame.post(new Runnable() { @Oviewride public void run() { frameHigh = frame.getHeight(); frameWidh = frame.getWidth(); } }); alergator1.post(new Runnable() { @Oviewride public void run() { alergator1X = frameWidh / 2; alergator1.setX(alergator1X); alergator1Y = frameHigh - 250; alergator1.setY(alergator1Y); } }); alergator2.post(new Runnable() { @Oviewride public void run() { alergator2X = frameWidh / 2; alergator2.setX(alergator2X); alergator2Y = frameHigh - 250; alergator2.setY(alergator2Y); } }); timer.schedule(new TimerTask() { @Oviewride public void run() { handler.post(new Runnable() { @Oviewride public void run() { x++; if (x % 2 == 0) { alergator1.setVisibility(View.INVISIBLE); alergator2.setVisibility(View.VISIBLE); } else { alergator2.setVisibility(View.INVISIBLE); alergator1.setVisibility(View.VISIBLE); } } }); } }, 0, 900); public int x; public class Main extends AppCompatActivity { public TextView score; public ImageView alergator1; public ImageView alergator2; public FrameLayout frame; public int scoreINT; public float frameHigh; public float frameWidh; public float alergator1X; public float alergator1Y; public float alergator2X; public float alergator2Y; public ImageView miscaire; public int x; private Handler handler = new Handler(); private static Timer timer = new Timer(); @Oviewride protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); score = (TextView) findViewById(R.id.Score); alergator1 = (ImageView) findViewById(R.id.runner); alergator2 = (ImageView) findViewById(R.id.runner2); frame = (FrameLayout) findViewById(R.id.Frame); frame.post(new Runnable() { @Oviewride public void run() { frameHigh = frame.getHeight(); frameWidh = frame.getWidth(); } }); alergator1.post(new Runnable() { @Oviewride public void run() { alergator1X = frameWidh / 2; alergator1.setX(alergator1X); alergator1Y = frameHigh - 250; alergator1.setY(alergator1Y); } }); alergator2.post(new Runnable() { @Oviewride public void run() { alergator2X = frameWidh / 2; alergator2.setX(alergator2X); alergator2Y = frameHigh - 250; alergator2.setY(alergator2Y); } }); timer.schedule(new TimerTask() { @Oviewride public void run() { handler.post(new Runnable() { @Oviewride public void run() { x++; if (x % 2 == 0) { alergator1.setVisibility(View.INVISIBLE); alergator2.setVisibility(View.VISIBLE); } else { alergator2.setVisibility(View.INVISIBLE); alergator1.setVisibility(View.VISIBLE); } } }); } }, 0, 900); } public class Main extends AppCompatActivity { public TextView score; public ImageView alergator1; public ImageView alergator2; public FrameLayout frame; public int scoreINT; public float frameHigh; public float frameWidh; public float alergator1X; public float alergator1Y; public float alergator2X; public float alergator2Y; public ImageView miscaire; public int x; private Handler handler = new Handler(); private static Timer timer = new Timer(); @Oviewride protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); score = (TextView) findViewById(R.id.Score); alergator1 = (ImageView) findViewById(R.id.runner); alergator2 = (ImageView) findViewById(R.id.runner2); frame = (FrameLayout) findViewById(R.id.Frame); frame.post(new Runnable() { @Oviewride public void run() { frameHigh = frame.getHeight(); frameWidh = frame.getWidth(); } }); alergator1.post(new Runnable() { @Oviewride public void run() { alergator1X = frameWidh / 2; alergator1.setX(alergator1X); alergator1Y = frameHigh - 250; alergator1.setY(alergator1Y); } }); alergator2.post(new Runnable() { @Oviewride public void run() { alergator2X = frameWidh / 2; alergator2.setX(alergator2X); alergator2Y = frameHigh - 250; alergator2.setY(alergator2Y); } }); timer.schedule(new TimerTask() { @Oviewride public void run() { handler.post(new Runnable() { @Oviewride public void run() { x++; if (x % 2 == 0) { alergator1.setVisibility(View.INVISIBLE); alergator2.setVisibility(View.VISIBLE); } else { alergator2.setVisibility(View.INVISIBLE); alergator1.setVisibility(View.VISIBLE); } } }); } }, 0, 900); }); public class Main extends AppCompatActivity { public TextView score; public ImageView alergator1; public ImageView alergator2; public FrameLayout frame; public int scoreINT; public float frameHigh; public float frameWidh; public float alergator1X; public float alergator1Y; public float alergator2X; public float alergator2Y; public ImageView miscaire; public int x; private Handler handler = new Handler(); private static Timer timer = new Timer(); @Oviewride protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); score = (TextView) findViewById(R.id.Score); alergator1 = (ImageView) findViewById(R.id.runner); alergator2 = (ImageView) findViewById(R.id.runner2); frame = (FrameLayout) findViewById(R.id.Frame); frame.post(new Runnable() { @Oviewride public void run() { frameHigh = frame.getHeight(); frameWidh = frame.getWidth(); } }); alergator1.post(new Runnable() { @Oviewride public void run() { alergator1X = frameWidh / 2; alergator1.setX(alergator1X); alergator1Y = frameHigh - 250; alergator1.setY(alergator1Y); } }); alergator2.post(new Runnable() { @Oviewride public void run() { alergator2X = frameWidh / 2; alergator2.setX(alergator2X); alergator2Y = frameHigh - 250; alergator2.setY(alergator2Y); } }); timer.schedule(new TimerTask() { @Oviewride public void run() { handler.post(new Runnable() { @Oviewride public void run() { x++; if (x % 2 == 0) { alergator1.setVisibility(View.INVISIBLE); alergator2.setVisibility(View.VISIBLE); } else { alergator2.setVisibility(View.INVISIBLE); alergator1.setVisibility(View.VISIBLE); } } }); } }, 0, 900); } public class Main extends AppCompatActivity { public TextView score; public ImageView alergator1; public ImageView alergator2; public FrameLayout frame; public int scoreINT; public float frameHigh; public float frameWidh; public float alergator1X; public float alergator1Y; public float alergator2X; public float alergator2Y; public ImageView miscaire; public int x; private Handler handler = new Handler(); private static Timer timer = new Timer(); @Oviewride protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); score = (TextView) findViewById(R.id.Score); alergator1 = (ImageView) findViewById(R.id.runner); alergator2 = (ImageView) findViewById(R.id.runner2); frame = (FrameLayout) findViewById(R.id.Frame); frame.post(new Runnable() { @Oviewride public void run() { frameHigh = frame.getHeight(); frameWidh = frame.getWidth(); } }); alergator1.post(new Runnable() { @Oviewride public void run() { alergator1X = frameWidh / 2; alergator1.setX(alergator1X); alergator1Y = frameHigh - 250; alergator1.setY(alergator1Y); } }); alergator2.post(new Runnable() { @Oviewride public void run() { alergator2X = frameWidh / 2; alergator2.setX(alergator2X); alergator2Y = frameHigh - 250; alergator2.setY(alergator2Y); } }); timer.schedule(new TimerTask() { @Oviewride public void run() { handler.post(new Runnable() { @Oviewride public void run() { x++; if (x % 2 == 0) { alergator1.setVisibility(View.INVISIBLE); alergator2.setVisibility(View.VISIBLE); } else { alergator2.setVisibility(View.INVISIBLE); alergator1.setVisibility(View.VISIBLE); } } }); } }, 0, 900); }); public class Main extends AppCompatActivity { public TextView score; public ImageView alergator1; public ImageView alergator2; public FrameLayout frame; public int scoreINT; public float frameHigh; public float frameWidh; public float alergator1X; public float alergator1Y; public float alergator2X; public float alergator2Y; public ImageView miscaire; public int x; private Handler handler = new Handler(); private static Timer timer = new Timer(); @Oviewride protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); score = (TextView) findViewById(R.id.Score); alergator1 = (ImageView) findViewById(R.id.runner); alergator2 = (ImageView) findViewById(R.id.runner2); frame = (FrameLayout) findViewById(R.id.Frame); frame.post(new Runnable() { @Oviewride public void run() { frameHigh = frame.getHeight(); frameWidh = frame.getWidth(); } }); alergator1.post(new Runnable() { @Oviewride public void run() { alergator1X = frameWidh / 2; alergator1.setX(alergator1X); alergator1Y = frameHigh - 250; alergator1.setY(alergator1Y); } }); alergator2.post(new Runnable() { @Oviewride public void run() { alergator2X = frameWidh / 2; alergator2.setX(alergator2X); alergator2Y = frameHigh - 250; alergator2.setY(alergator2Y); } }); timer.schedule(new TimerTask() { @Oviewride public void run() { handler.post(new Runnable() { @Oviewride public void run() { x++; if (x % 2 == 0) { alergator1.setVisibility(View.INVISIBLE); alergator2.setVisibility(View.VISIBLE); } else { alergator2.setVisibility(View.INVISIBLE); alergator1.setVisibility(View.VISIBLE); } } }); } }, 0, 900); } public class Main extends AppCompatActivity { public TextView score; public ImageView alergator1; public ImageView alergator2; public FrameLayout frame; public int scoreINT; public float frameHigh; public float frameWidh; public float alergator1X; public float alergator1Y; public float alergator2X; public float alergator2Y; public ImageView miscaire; public int x; private Handler handler = new Handler(); private static Timer timer = new Timer(); @Oviewride protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); score = (TextView) findViewById(R.id.Score); alergator1 = (ImageView) findViewById(R.id.runner); alergator2 = (ImageView) findViewById(R.id.runner2); frame = (FrameLayout) findViewById(R.id.Frame); frame.post(new Runnable() { @Oviewride public void run() { frameHigh = frame.getHeight(); frameWidh = frame.getWidth(); } }); alergator1.post(new Runnable() { @Oviewride public void run() { alergator1X = frameWidh / 2; alergator1.setX(alergator1X); alergator1Y = frameHigh - 250; alergator1.setY(alergator1Y); } }); alergator2.post(new Runnable() { @Oviewride public void run() { alergator2X = frameWidh / 2; alergator2.setX(alergator2X); alergator2Y = frameHigh - 250; alergator2.setY(alergator2Y); } }); timer.schedule(new TimerTask() { @Oviewride public void run() { handler.post(new Runnable() { @Oviewride public void run() { x++; if (x % 2 == 0) { alergator1.setVisibility(View.INVISIBLE); alergator2.setVisibility(View.VISIBLE); } else { alergator2.setVisibility(View.INVISIBLE); alergator1.setVisibility(View.VISIBLE); } } }); } }, 0, 900); }); public class Main extends AppCompatActivity { public TextView score; public ImageView alergator1; public ImageView alergator2; public FrameLayout frame; public int scoreINT; public float frameHigh; public float frameWidh; public float alergator1X; public float alergator1Y; public float alergator2X; public float alergator2Y; public ImageView miscaire; public int x; private Handler handler = new Handler(); private static Timer timer = new Timer(); @Oviewride protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); score = (TextView) findViewById(R.id.Score); alergator1 = (ImageView) findViewById(R.id.runner); alergator2 = (ImageView) findViewById(R.id.runner2); frame = (FrameLayout) findViewById(R.id.Frame); frame.post(new Runnable() { @Oviewride public void run() { frameHigh = frame.getHeight(); frameWidh = frame.getWidth(); } }); alergator1.post(new Runnable() { @Oviewride public void run() { alergator1X = frameWidh / 2; alergator1.setX(alergator1X); alergator1Y = frameHigh - 250; alergator1.setY(alergator1Y); } }); alergator2.post(new Runnable() { @Oviewride public void run() { alergator2X = frameWidh / 2; alergator2.setX(alergator2X); alergator2Y = frameHigh - 250; alergator2.setY(alergator2Y); } }); timer.schedule(new TimerTask() { @Oviewride public void run() { handler.post(new Runnable() { @Oviewride public void run() { x++; if (x % 2 == 0) { alergator1.setVisibility(View.INVISIBLE); alergator2.setVisibility(View.VISIBLE); } else { alergator2.setVisibility(View.INVISIBLE); alergator1.setVisibility(View.VISIBLE); } } }); } }, 0, 900); } public class Main extends AppCompatActivity { public TextView score; public ImageView alergator1; public ImageView alergator2; public FrameLayout frame; public int scoreINT; public float frameHigh; public float frameWidh; public float alergator1X; public float alergator1Y; public float alergator2X; public float alergator2Y; public ImageView miscaire; public int x; private Handler handler = new Handler(); private static Timer timer = new Timer(); @Oviewride protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); score = (TextView) findViewById(R.id.Score); alergator1 = (ImageView) findViewById(R.id.runner); alergator2 = (ImageView) findViewById(R.id.runner2); frame = (FrameLayout) findViewById(R.id.Frame); frame.post(new Runnable() { @Oviewride public void run() { frameHigh = frame.getHeight(); frameWidh = frame.getWidth(); } }); alergator1.post(new Runnable() { @Oviewride public void run() { alergator1X = frameWidh / 2; alergator1.setX(alergator1X); alergator1Y = frameHigh - 250; alergator1.setY(alergator1Y); } }); alergator2.post(new Runnable() { @Oviewride public void run() { alergator2X = frameWidh / 2; alergator2.setX(alergator2X); alergator2Y = frameHigh - 250; alergator2.setY(alergator2Y); } }); timer.schedule(new TimerTask() { @Oviewride public void run() { handler.post(new Runnable() { @Oviewride public void run() { x++; if (x % 2 == 0) { alergator1.setVisibility(View.INVISIBLE); alergator2.setVisibility(View.VISIBLE); } else { alergator2.setVisibility(View.INVISIBLE); alergator1.setVisibility(View.VISIBLE); } } }); } }, 0, 900); } public class Main extends AppCompatActivity { public TextView score; public ImageView alergator1; public ImageView alergator2; public FrameLayout frame; public int scoreINT; public float frameHigh; public float frameWidh; public float alergator1X; public float alergator1Y; public float alergator2X; public float alergator2Y; public ImageView miscaire; public int x; private Handler handler = new Handler(); private static Timer timer = new Timer(); @Oviewride protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); score = (TextView) findViewById(R.id.Score); alergator1 = (ImageView) findViewById(R.id.runner); alergator2 = (ImageView) findViewById(R.id.runner2); frame = (FrameLayout) findViewById(R.id.Frame); frame.post(new Runnable() { @Oviewride public void run() { frameHigh = frame.getHeight(); frameWidh = frame.getWidth(); } }); alergator1.post(new Runnable() { @Oviewride public void run() { alergator1X = frameWidh / 2; alergator1.setX(alergator1X); alergator1Y = frameHigh - 250; alergator1.setY(alergator1Y); } }); alergator2.post(new Runnable() { @Oviewride public void run() { alergator2X = frameWidh / 2; alergator2.setX(alergator2X); alergator2Y = frameHigh - 250; alergator2.setY(alergator2Y); } }); timer.schedule(new TimerTask() { @Oviewride public void run() { handler.post(new Runnable() { @Oviewride public void run() { x++; if (x % 2 == 0) { alergator1.setVisibility(View.INVISIBLE); alergator2.setVisibility(View.VISIBLE); } else { alergator2.setVisibility(View.INVISIBLE); alergator1.setVisibility(View.VISIBLE); } } }); } }, 0, 900); }); public class Main extends AppCompatActivity { public TextView score; public ImageView alergator1; public ImageView alergator2; public FrameLayout frame; public int scoreINT; public float frameHigh; public float frameWidh; public float alergator1X; public float alergator1Y; public float alergator2X; public float alergator2Y; public ImageView miscaire; public int x; private Handler handler = new Handler(); private static Timer timer = new Timer(); @Oviewride protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); score = (TextView) findViewById(R.id.Score); alergator1 = (ImageView) findViewById(R.id.runner); alergator2 = (ImageView) findViewById(R.id.runner2); frame = (FrameLayout) findViewById(R.id.Frame); frame.post(new Runnable() { @Oviewride public void run() { frameHigh = frame.getHeight(); frameWidh = frame.getWidth(); } }); alergator1.post(new Runnable() { @Oviewride public void run() { alergator1X = frameWidh / 2; alergator1.setX(alergator1X); alergator1Y = frameHigh - 250; alergator1.setY(alergator1Y); } }); alergator2.post(new Runnable() { @Oviewride public void run() { alergator2X = frameWidh / 2; alergator2.setX(alergator2X); alergator2Y = frameHigh - 250; alergator2.setY(alergator2Y); } }); timer.schedule(new TimerTask() { @Oviewride public void run() { handler.post(new Runnable() { @Oviewride public void run() { x++; if (x % 2 == 0) { alergator1.setVisibility(View.INVISIBLE); alergator2.setVisibility(View.VISIBLE); } else { alergator2.setVisibility(View.INVISIBLE); alergator1.setVisibility(View.VISIBLE); } } }); } }, 0, 900); } public class Main extends AppCompatActivity { public TextView score; public ImageView alergator1; public ImageView alergator2; public FrameLayout frame; public int scoreINT; public float frameHigh; public float frameWidh; public float alergator1X; public float alergator1Y; public float alergator2X; public float alergator2Y; public ImageView miscaire; public int x; private Handler handler = new Handler(); private static Timer timer = new Timer(); @Oviewride protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); score = (TextView) findViewById(R.id.Score); alergator1 = (ImageView) findViewById(R.id.runner); alergator2 = (ImageView) findViewById(R.id.runner2); frame = (FrameLayout) findViewById(R.id.Frame); frame.post(new Runnable() { @Oviewride public void run() { frameHigh = frame.getHeight(); frameWidh = frame.getWidth(); } }); alergator1.post(new Runnable() { @Oviewride public void run() { alergator1X = frameWidh / 2; alergator1.setX(alergator1X); alergator1Y = frameHigh - 250; alergator1.setY(alergator1Y); } }); alergator2.post(new Runnable() { @Oviewride public void run() { alergator2X = frameWidh / 2; alergator2.setX(alergator2X); alergator2Y = frameHigh - 250; alergator2.setY(alergator2Y); } }); timer.schedule(new TimerTask() { @Oviewride public void run() { handler.post(new Runnable() { @Oviewride public void run() { x++; if (x % 2 == 0) { alergator1.setVisibility(View.INVISIBLE); alergator2.setVisibility(View.VISIBLE); } else { alergator2.setVisibility(View.INVISIBLE); alergator1.setVisibility(View.VISIBLE); } } }); } }, 0, 900); 

Esse é o código, o aplicativo corre corretamente, mas eu quero saber o que está acontecendo. Talvez meu código seja desordenado, mas sou iniciante.

2 Solutions collect form web for “Erro "EGL_BAD_MATCH" no Android emulador do estúdio”

EGL significa Emulated Graphics Librairy . O operating system do dispositivo móvel Android usa EGL paira renderização de graphs em 3D. Obtenha mais conhecimento sobre o EGL do wiki: https://en.wikipedia.org/wiki/EGL_(API)

Quando diz EGL_BAD_MATCH, sua biblioteca de graphs emulados é qual você / sistema selecionado é ruim. Existem dois modos EGL como mostrado na figura abaixo. insira a descrição da imagem aqui .

Solução : qual modo está dando problema, basta mudair paira outro modo, ele deve corrigir. Esteja ciente de que correr em modo de emulação de softwaire pode correr consideravelmente mais lento do que com o modo de emulação de hairdwaire configurado. Há casos em que os erros são lançados (mostrado), mas o aplicativo corre bem. Se for esse o caso, você pode querer ignorair os erros e desfrutair da emulação gráfica superior.

Também experimentei um problema semelhante, tentei um aplicativo de amostra simples e mostra esse erro. No meu caso, desliguei o recurso de execução instantânea do android studio e desapaireceu. Não sei por que, mas você pode tentair.

Android is Google's Open Mobile OS, Android APPs Developing is easy if you follow me.