Android Studio emulator (3.0) does not work after the last update

The emulator does not start. I just updated Android Studio, nothing was done but this one.

The following notifications appear, and nothing happens when the emulator starts.

enter image description here

+8
android android-emulator android-studio
source share
5 answers

First of all, try setting the OpenGL ES version to automatic in the emulator by going to "Emulated Performance" in the emulator settings:

https://i.stack.imgur.com/uiLd7.png

Alternatively, this could be a problem with the file in the SDK. From what I can find, this is basically a problem with Linux based operating systems. You need a specific file that you may need manually (which you probably need). So first, setting it up:

If you have a 32-bit system:

# apt-get install lib64stdc++6 

Or a 64-bit system with multi-archive enabled:

 # apt-get install lib64stdc++6:i386 

Then move the file:

 $ cd $ANDROID_HOME/sdk/tools/lib64/libstdc++ $ mv libstdc++.so.6 libstdc++.so.6.bak $ ln -s /usr/lib64/libstdc++.so.6 $ANDROID_HOME/sdk/tools/lib64/libstdc++ 

Please note that the actual path you use may differ depending on $ANDROID_HOME . And make sure you set ANDROID_HOME to the SDK location before you do this, otherwise you must enter the full path to the SDK.

+1
source share

Problem:

The emulator does not start and does not start.

Errors:

Emulator: process terminated with exit code 0
Or
Emulator: process terminated with exit code 1
Or
Emulator: process terminated with exit code 2


Reason (on Linux):

Since Google does not seem to be aware of the problem, with every update they make in the Android Emulator package in Android Studio, they break functionality by replacing your working C ++ libs SDKs with broken / old ones.

Decision:

Create a link to lib distributed using Ubuntu:

 cd ~/Android/Sdk/emulator/lib64/libstdc++/ mv libstdc++.so.6 libstdc++.so.6.bak mv libstdc++.so.6.0.18 libstdc++.so.6.0.18.bak ln -sf /usr/lib/x86_64-linux-gnu/libstdc++.so.6 ~/Android/Sdk/emulator/lib64/libstdc++/libstdc++.so.6 ln -sf /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.22 ~/Android/Sdk/emulator/lib64/libstdc++/libstdc++.so.6.0.22 

Reason (on Windows):

Android emulator not installed: enter image description here

Decision:

Install Android Emulator if it is not installed in SDK Manager > SDK Tools :

enter image description here


Literature:

1) Android Android emulator does not work on Android Studio 3.0

2) The emulator in Android Studio does not start after updating the SDK tools to 25.3.1

3) Cannot start emulator on Linux (Ubuntu 15.10)

4) https://issuetracker.google.com/issues/37075150

+1
source share

Did you try to erase the data before starting?

enter image description here

+1
source share

Go to Settings / Advanced / Rendering OpenGL ES

and turning on SwiftShader instead Autodetect worked for me.

SwiftShader Enabled

0
source share

you must install the Android emulator because it becomes a shared API n SDK Manager> SDK Tools: and install it

-2
source share

All Articles